Add the string valueString as a string value to the concept concept's attribute that has name nameString.
addstrval(concept, nameString, valueString)
concept - type: con
nameString - type: str
valueString - type: str
Nothing
If the attribute doesn't exist yet, addstrval will create it. If the concept is bad, an error appears in the log output window at runtime.
G("Malibu") = makeconcept(findroot(), "Malibu");
addstrval(G("Malibu"),"Latitude Direction","North");
addstrval(G("Malibu"),"Longitude Direction","West");
addnumval(G("Malibu"),"Latitude value",33);
addnumval(G("Malibu"),"Longitude value",118);
addsval(G("Malibu"),"Route",1+2);
addconval, addsval, addnumval, Knowledge Base Functions