Files
rgbds/test/asm/macro-arg-in-string.asm
Rangi a70ecba06f Implement PRINT and PRINTLN (#672)
Fixes #669
Closes #368
Closes #624

Deprecate PRINTT, PRINTV, PRINTI, and PRINTF

Default STRFMT("%f") to 5 fractional digits like "{f:}"
Any use of string formatting will share this default
2021-01-02 02:37:32 +01:00

18 lines
193 B
NASM

print1: MACRO
PRINTLN "\1"
ENDM
print1 John "Danger" Smith
print1 \\A\nB
print1 C\
D
print1 E\!F ; illegal character escape
iprint: MACRO
PRINTLN "{\1}"
ENDM
s EQUS "hello"
iprint s