Creating a catch-all for unknown handlers
Gordon
gwalias-rev at yahoo.com
Sun Dec 12 15:41:33 EST 2004
Dear Revolutionaries
Is this feasible or just a crazy notion ...?
Is there a way to create a catch-all backscript that
would catch any "unknown handler" error and then look
through a list of e.g. custom properties to see if it
could be evaluated, and then returning the value.
This would make it possible to create custom
properties with names like client.address.zip and then
just use them in your code where a handler would
normally be.
E.g. instead of writing:
getGlobal
=====
:::::::::: Gordon Webster ::::::::::
More information about the use-livecode
mailing list