Specifications

6-2 Programmer’s Guide Sega
Psy-Q Development System
STRLEN
Description A function which returns the length of the text specified in the brackets.
Syntax STRLEN(string)
See Also STRCMP
Remarks The STRLEN function is available at any point in the operand.
Examples Nummov macro
rept strlen(\1)
move.1 (a1)+, (a0)+
endr
endm
...
Nummov 12345
The number of characters in the string is used as the extent of the loop.