・A string of the user-defined command name to be called.
・Program slot specification is possible in the format of "1:User-DefinedCommandName".
・Make the program in the target slot executable with the EXEC command in advance.
Parameters required for the specified commands
Describe as many variable names as you want to return as a result after OUT
CALL "USERCD",X,Y OUT A,B ' DEF USERCD X,Y OUT A,B A=X+Y:B=X*Y END
・Both built-in functions and user-defined functions can be specified.
・A string of the user-defined function name to be called.
・Program slot specification is possible in the format of "1:User-DefinedFunctionName".
・Make the program in the target slot executable with the EXEC command in advance.
Enumerate parameters required for specified function
The value returned by the specified function
A=CALL("USERFC",X,Y) ' DEF USERFC(X,Y) RETURN X*Y END
・Calls the specified callback operation by SPFUNC and TFUNC all at once.
・Specified callback with SPFUNC is called with CALL SPRITE.
・Specified callback with TFUNC is called with CALL TEXT.
・The sprite management number and text screen ID related to the called callback can be obtained with CALLIDX().
CALL SPRITE CALL TEXT