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,9 @@
|
||||
m: macro
|
||||
PRINTT "\1 "
|
||||
PRINT "\1 "
|
||||
REPT 4
|
||||
SHIFT
|
||||
ENDR
|
||||
PRINTT "\1s!\n"
|
||||
PRINTLN "\1s!"
|
||||
|
||||
; Shifting a little more to check that over-shifting doesn't crash
|
||||
SHIFT
|
||||
@@ -11,7 +11,7 @@ m: macro
|
||||
REPT 256
|
||||
SHIFT
|
||||
ENDR
|
||||
PRINTT "\1\n"
|
||||
PRINTLN "\1"
|
||||
endm
|
||||
|
||||
m This, used, not, to, work
|
||||
|
||||
Reference in New Issue
Block a user