For example:
“AA” < “AB”
“FILENAME” = “FILENAME”
“SMYTH” < “SMYTHE”
B$ < “9/12/78” where B$ = “8/12/78”
String comparisons can also be used to test string values or to alphabetize
strings. All string constants used in comparison expressions must be enclosed
in quotation marks.
Strings can be concatenated by using the plus (+) sign. For example:
10 A$=”FILE”:B$=”NAME”
20 PRINT A$+B$
30PRINT “NEW” + A$+B$
RUN
FILENAME
NEW FILENAME
T-60 Basic Programming Language
String Operators
41