contents   index   previous   next



THE ARGUMENTS

 

To access the arguments to your wrapper function, you use any of the ScriptEase API's retrieval functions such as seGetNumber, seGetString, and so forth. These functions will automatically convert the value to the correct type if it is not of that type already. You can use seGetType to check the type first if you wish to be more stringent. The object,member pair to use for your arguments is SE_ARGS, SE_NUM(x) where x is the argument number. You can also use SE_INDEX(x), as for arguments it is synonymous. Arguments range from 0 to one less than the number of arguments. SE_ARGS,SE_NUM(0) is the first argument.

 


THE RETURN