contents   index   previous   next



THE ARGUMENTS

 

Now that you know how many arguments you have, how do you retrieve them? 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 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