OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Passing an array of objects argument in an eval statement
This page's ID:
26727
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Heh, I always reply to these things and then forget about them until days later. I don't really understand your description. It sounds like you have two uses for eval, the first being taking a function name and calling the function. I believe this will work for that (though it's untested): functionname = "myfunction"; // get this however you want window[functionname](arguments); // same as window.myfunction(arguments), same as myfunction(arguments) I don't understand the rest of your description. You keep using the phrase "pass the array into an eval statement," which doesn't make much sense. Eval takes a string and evaluates it as code; if you already have an array, why turn it into a string just so you can use eval to turn it back into an array? What sort of data are you trying to convert here? [url=http://www.slimeland.com/] [img]http://www.slimeland.com/misc/ozonemetalslimesig.gif[/img] [/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »