Implementation--
Strings
Strings hold a null-terminated sequence of characters usually forming words or expressions. In SimPlan, strings are used to hold any such sequence including variable values of any type. The values are converted to their appropriate types for use but stored as strings for standardization.
Functionality of strings includes initialization of strings, allocation of memory for strings, setting and retrieving the length of a string, retrieving the entire string, retrieving characters or substrings from the string, changing a character in the string, conversion to and from integers and boolean truth values, assignment of strings, concatenation of one string to another, comparison of two strings, finding a given character or one of several given characters in a string, reversing the characters of a string, and changing all letters in a string to upper or lower case.
Related include files:
Return ...
Andrew Tompkins
Beaverton, OR 97006
Last rev: 17 JUL 03
URL:
http://home.comcast.net/~andytom/simplan.docs/control/string.html