----- Original Message -----
From: "Peter Reid" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 19, 2001 5:22 PM
Subject: RE: Referencing Variables & Objects


> >  > 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??
> >
> >The question is why would you want to do this?
>
> So I can process a number of arrays to export/import them to/from
> text files.  In fact there are a number of occasions when I'd like
to
> be able to use generic code to handle objects as well as variables,
> so I can loop through all variables in a stack or all objects on a
> card etc.

How about something for arraynames that works like "the globals" or
"the customPropertySets of <object>"? Would that give you what you
need? I'm thinkin' that would let you cycle through all arrays known
to (within the scope of) the currently executing handler.

Since it resembles other existing functionality, maybe it wouldn't be
so difficult to create. (Famous last words)

Phil Davis


>
> 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/metacard@lists.runrev.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>
>


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to