mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
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
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
print: MACRO
|
||||
PRINTT \1
|
||||
PRINTT "\n"
|
||||
ENDM
|
||||
|
||||
print STRCAT()
|
||||
print STRCAT("Durrr")
|
||||
print STRCAT("Left"\, "right")
|
||||
print STRCAT("Whoa"\, "\, "\, "baby!")
|
||||
println STRCAT()
|
||||
println STRCAT("Durrr")
|
||||
println STRCAT("Left", "right")
|
||||
println STRCAT("Whoa", ", ", "baby!")
|
||||
|
||||
Reference in New Issue
Block a user