On 4/20/01 7:00 AM, "Peter Reid" <[EMAIL PROTECTED]> wrote:
> Anyone know how I can find out the name of the actual parameters
> passed to a handler or function? I'm trying to write some general
> handlers for processing arrays and I need to be able to determine the
> name of the actual array used when the handler/function was called.
>
> For example, lets say I have the following handler:
>
> on myHandler theArray
>
> end myHandler
>
> and I call it as follows:
>
> global myArr, hisArr
> put 1 into myArr[1]
> put 2 into hisArr[1]
> myHandler myArr
> myHandler hisArr
>
> How can I script inside the handler to determine that the 1st call
> was with "myArr" and the second was with "hisArr".
Can't you send
Myhandler myArr,x
Where x is the name of the array.
Steve
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.