on 1/29/02 6:21 AM, Cornelius at [EMAIL PROTECTED] wrote: > 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. > Hi Cornelius,
Check out lingo's "value" function for converting back to their original types. For example... a = "[ 123, 234, 345 ]" put a -- "[ 123, 234, 345 ]" b = value(a) put b -- [123, 234, 345] put listP(b) -- 1 Regards, Randy [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!]
