basic: syntax tree of UNARYMINUS with number will be converted to -number

This commit is contained in:
minjaesong
2020-12-17 21:13:10 +09:00
parent efde387d73
commit e280e4f4c7
2 changed files with 36 additions and 8 deletions

6
assets/downkeys2.bas Normal file
View File

@@ -0,0 +1,6 @@
10 POKE -40,255
20 FOR K=-41 TO -48 STEP -1
30 PRINT(PEEK(K);" ";)
40 NEXT
50 PRINT
60 GOTO 10