~amaurycarvalho/msxbas2asm/trunk

« back to all changes in this revision

Viewing changes to test/test9.bas

  • Committer: Amaury Carvalho
  • Date: 2020-06-12 13:08:59 UTC
  • Revision ID: amauryspires@gmail.com-20200612130859-3qm5vl1jiqr2brok
Commit on 12/06/2020 10:08:59  -03 by amaury

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
10 CLS
2
 
20 PRINT "<<< Expression test - literals >>>"
3
 
30 PRINT "1 = "; 1 
4
 
40 PRINT "1 + 2 = "; 1 + 2 
5
 
50 PRINT "1 + 2 + 3 = "; 1 + 2 + 3
6
 
60 PRINT "1 + 2 + 3 * 4 = "; 1 + 2 + 3 * 4
7
 
70 PRINT "1 + 2 + 3 * 4 + 50 - 10 = "; 1 + 2 + 3 * 4 + 50 - 10
8
 
80 PRINT "-100 = "; -100
9
 
90 PRINT "-100 + 200 = "; -100 + 200
10
 
100 PRINT "2 * ( 10 + 3 ) / 4 = "; 2 * ( 10 + 3 ) / 4
11
 
110 PAUSE
12
 
120 END
13