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".  I know how to get 
values, but I can't see how I get names??

Cheers
Peter
-- 
--------------------------------------------------------
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)870 052 7576
E-mail: [EMAIL PROTECTED]
Web: http://www.reidit.co.uk

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.

Reply via email to