String variables, which have a maximum character length of 512 are used to store text characters so they can be accessed later in the module's operation.





Any keyboard character, or combinations of characters like "Hello", "A", and "November Soybeans."


A String character, or word can be assigned to a String variable, or passed to a function that requires a String assignment.  When passed to a variable, or to a parameter position the character group must be contained within a pair of apostrophe characters:



'  String TYPE Example
VARIABLES: TextItemIs TYPE: String
'  Assign text to string variable
TextItemIs = "November Soybeans."
'  Send String results to Log Window
PRINT "TextItemIs = ", TextItemIs



'  Log window shows

TextItemIs =  November Soybeans.



PRINT, String Functions, EncloseInQuotes

See Also:

Data Group and Types


Edit Time: 12/7/2018 1:20:06 PM

Topic ID#: 585


Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software