Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

list 2 string 2 list preserving types

Tommy Oz
Registered User
Join date: 13 Jan 2005
Posts: 56
02-04-2005 05:02
I know that I saw it somewhere in the list docs, but damned if I can find it again.


How do I convert a mixed type list to a string and back again, preserving the types?

Thanks
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
02-04-2005 06:42
The second example in this LSL wiki page should help:

http://secondlife.com/badgeo/wakka.php?wakka=llCSV2List

I'd be interested to know if there's an easier or more efficient way to do this.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
02-05-2005 19:17
There is no better way. One of my on going campaigns is to get object to object comms that use lists. The amount of time cpu time waisted parsing string<->list is for no good reason.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey