|
Katryna Jie
Registered User
Join date: 24 Jun 2007
Posts: 187
|
04-13-2008 20:11
Hello everyone, Me again ~_~ I found this wrapper on the lslwiki that I want to use to expand my list when doing a parse2list and findlist... but I don't understand how to use it... Help, please? http://lslwiki.net/lslwiki/wakka.php?wakka=llParseString2List&show_comments=1#comments
|
|
Very Keynes
LSL is a Virus
Join date: 6 May 2006
Posts: 484
|
04-14-2008 02:21
You use it like any other function, just place the code in the global portion, ie. befor the default clause, like this: list parseString2List(string src, list seperators, list spacers) { ...... ......the rest of the wrapper code here ...... }
default { ..... your code
then where you would have used llParseString2list(.....) use parseString2List(....) instead.
|
|
Katryna Jie
Registered User
Join date: 24 Jun 2007
Posts: 187
|
04-14-2008 18:42
*hugs* thank you! I'll try it out this afternoon once I can get to work on it again. I've never had to use custom functions like that before ((I've only ever really written one code, and this is for enhancing it))
|