ChipMaster's bwBASIC This also includes history going back to v2.10. *WARN* some binary files might have been corrupted by CRLF.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 lines
223 B

  1. 10 REM STRING LOGICAL 'AND' TEST PROGRAM
  2. 20 A$="A"
  3. 30 B$="F"
  4. 40 IF A$="A" AND B$>"B" THEN 70
  5. 50 PRINT "'AND' FAILED THE TEST AS A LOGICAL OPERATOR"
  6. 60 GOTO 99
  7. 70 PRINT "'AND' PASSED THE STRING LOGICAL OPERATOR TEST"
  8. 99 END