mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-10 20:01:42 +00:00
358e8fe636
The character after the ending keyword gets blue-painted.
26 lines
260 B
NASM
26 lines
260 B
NASM
DEF x = 0
|
|
DEF s EQUS "\nprintln \"lol\", x\ndef x += 1"
|
|
|
|
if 0
|
|
println "no"
|
|
endc{#s}
|
|
|
|
if 1
|
|
println "yes"
|
|
else{#s}
|
|
println "nope"
|
|
endc{#s}
|
|
|
|
rept 0
|
|
println "no way"
|
|
endr{#s}
|
|
|
|
println "x = ", x
|
|
|
|
MACRO m
|
|
if 0
|
|
println "no how"
|
|
endc\1
|
|
ENDM
|
|
m \nprintln "haha"
|