FUNCTION
These commands will declare a user defined function within your program.
FUNCTION FunctionName(Function Parameters)
FunctionName(Function Parameters
Value
Enter the appropriate value here.
This command does not return a value.
User functions work in the same way normal commands work. They can accept multiple parameters and return values in the same manner, allowing you to create customized commands within your program.
myfunc()
WAIT KEY
END
FUNCTION myfunc()
PRINT "inside function"
ENDFUNCTION
CORE Commands Menu
Index