On Jan 11, 2004, at 12:40 PM, Taco Fleur wrote:
Anyway, I could do evaluate("application.page." & url.page) I could work
with that, but there are still complications then, when one level does not
exist for example.

Why not just:
application.page[url.page]
You don't need evaluate() here. You can also use structKeyExists() to check it exists:


if (structKeyExists(application.page,url.page)) {
        ... application.page[url.page] ...
} else {
        ... error specified page does not exist ...
}

It's a bit complicated, and I probably did not explain myself very well, I
should have waited before consulting the list.

Perhaps you can try again to explain why the above doesn't actually work for you?


Sean A Corfield -- http://www.corfield.org/blog/

"I can smell your brains!"
-- Mittens the Kitten : http://www.matazone.co.uk/theotherside.html


--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to