You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: man/rgbasm.5
+31-10Lines changed: 31 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -564,22 +564,17 @@ is equivalent to the regular string
564
564
(Note that this prevents raw strings from including the double quote character.)
565
565
Raw strings also may be contained in triple quotes for them to be multi-line, so they can include literal newline or quote characters (although still not three quotes in a row).
566
566
.Pp
567
-
The following functions operate on string expressions.
568
-
Most of them return a string, however some of these functions actually return an integer and can be used as part of an integer expression!
569
-
.Bl-column"STRSUB(str, pos, len)"
567
+
The following functions operate on string expressions, and return strings themselves.
Note that the first character of a string is at index 0, and the last is at index -1.
605
+
.Pp
606
+
The following legacy functions are similar to other functions that operate on string expressions, but for historical reasons, they count characters starting from
607
+
.Emposition1 ,
608
+
not from index 0!
609
+
(Position -1 still counts from the last character.)
When writing text strings that are meant to be displayed on the Game Boy, the character encoding in the ROM may need to be different than the source file encoding.
0 commit comments