Difference between revisions of "CatLists"

From Second Life Wiki
Jump to navigation Jump to search
m (wtf?)
Line 1: Line 1:
{{LSL Header|ml=*}}{{RightToc}}
==Lists==
==Lists==


Line 36: Line 37:
There are two flavors: TightList and TightListType. TightListType preserves types and uses a 6 char header, while TightList uses a 1 char header that doesn't preserve type.  
There are two flavors: TightList and TightListType. TightListType preserves types and uses a 6 char header, while TightList uses a 1 char header that doesn't preserve type.  
|}
|}
{{LSLC|}}

Revision as of 17:03, 3 April 2011

Lists

Name Creator Description
List2CSV Kunnis Basiat List2CSV & CSV2List that include preserving type and escaping characters.
list_cast Fractured Crystal Casts a list of strings into the type they appear to be. Designed for preprocessing user input for feeding into llSetPrimitiveParams
List: Find Last Index Void Singer Returns the last index of searched item in a source list. (backwards version of llListFindList)
List: Multi Find Void Singer Returns the first found index of multiple search items in a list. (Multi-item version of llListFindList. Fwd and Rev versions included)
List: Reverse Void Singer Returns an input List in reverse order
ParseString2List Strife Onizuka Same as llParseString2List and llParseStringKeepNulls, but not limited to 8 spacers or separators. Thus substitute a call to the llParseString2List and llParseStringKeepNulls functions by a call to ParseString2List whenever you have more than 8 separators or more than 8 spacers.
TightList Strife Onizuka Tight List is a family of functions for encoding lists as strings and then decoding them back into lists.

There are two flavors: TightList and TightListType. TightListType preserves types and uses a 6 char header, while TightList uses a 1 char header that doesn't preserve type.