On 2016-02-02 17:05, Bernard Devlin wrote:
I know the params can be called to find out what parameters were passed to the handler when it is called. However, I'm wondering if a handler has a
way of knowing what parameters it had at the time it was defined.

There isn't currently a way to get this information, no.

We currently have 'the params' which returns a string form of the handlers invocation (which, is somewhat flawed as you can have array valued parameters, and strings containing quote), paramCount() which returns the number of parameters actually passed, and param(i) which returns the value (not converted to a string) of the i'th parameter passed to the current call.

Perhaps something like a 'paramName(i)' function?

Can you give more information about your use-case?

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to