Sanny Builder
Search…
In English
Troubleshooting
Powered By GitBook
0050: Not enough parameters for command
The compiler can't get a required number of parameters for the command, directive or class member.
It may happen if fewer parameters are provided or some of them are invalid. The number of parameters for each built-in command is hardcoded and can't be changed. The number of parameters in the class corresponds to the underlying opcode configuration.
Possible solutions: provide the required number of parameters:
1
{$INCLUDE} // error, one parameter missing
2
Player.Defined() // error, one parameter missing
3
INC() // error, expected two parameters
4
5
{$INCLUDE file.txt} // OK
6
Player.Defined($PLAYER_CHAR) // OK
7
INC($var) // OK
Copied!
Last modified 1yr ago
Copy link