Available Calls
Embryo provides a minimal set of native calls that can be used within any Embryo script.Those calls are detailed here.
- Note:
- Some of the "core" functions here are also described in the full Small documentation given
- Todo:
- Finish this section.
Argument Functions
numargs
Returns the number of arguments passed to a function. Useful when dealing with variable argument lists.getarg(arg, index=0)
Retrieves the argument numberarg
. If the argument is an array, use index
to specify the index of the array to return.setargs(arg, index=0, value)
Sets the argument numberarg
to the given arg
. index
specifies the index of arg
to set if arg
is an array.