Chapter 6. Expressions and Operators
85
■
Comparison of Character Strings
The string operators compare two character strings according to character codes
assigned to individual characters.
In the example below, the expression
a1$<b1$
returns the value of true so as to out-
put -1.
a1$="ABC001"
b1$="ABC002"
PRINT a1$<b1$
-1
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...