Cornelius,

Check out the value function.

For example:

a = rect(3,4,5,6)

put a
-- rect(3, 4, 5, 6)

b = string(a)
put b
-- "rect(3, 4, 5, 6)"

c = b.value

put c
-- rect(3, 4, 5, 6)


Brian Romanko
Lead Developer - Neo/SCI Corporation
Member - Greater Rochester Macromedia User Group


> -----Original Message-----
> Allright, help!
> 
> I have a bunch of prefs as key/value pairs in an external 
> file some of the values are lists, rects, etc.
> 
> I need to get these back as their original types. They are 
> all strings 
> however.
> 
> Anyway to do this?
> 
> 
> TIA
> 
> Cornelius

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to