11-19-2022, 12:14 AM
Oh, another interesting observation is ASC() should not be used as a true/false indicator.
Pete
Code: (Select All)
$CONSOLE:ONLY
_CONTROLCHR OFF
FOR i = 0 TO 255
PRINT i; CHR$(i);
IF ASC(CHR$(i)) THEN PRINT "I'm a character!" ELSE PRINT "I'm not a character" ' Note, it misses CHR$(0), which is a blank character.
NEXT
Pete
If eggs are brain food, Biden takes his scrambled.