Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
wiki:scripting_portal:lsl_lists [2019/05/24 02:40]
Royale Mobian
wiki:scripting_portal:lsl_lists [2019/05/24 02:48] (current)
Royale Mobian [Strided lists]
Line 208: Line 208:
 | ListStridedUpdate | Updates part of a strided list. | | ListStridedUpdate | Updates part of a strided list. |
 | ListStridedReorder | Reorder the contents of every stride or reorder entire strides. | | ListStridedReorder | Reorder the contents of every stride or reorder entire strides. |
 +
 +===== Extended List Operations =====
 +These functions have been created and contributed by LSL users to perform operations not covered by built-in LSL functions.
 +
 +^ function ^ purpose ^
 +| ListCast | Processes a list so that its contents are of a single-type. | 
 +| List_cast | Processes a list so that its contents are converted from strings to their respective types. | 
 +| ListCompare | Compares two lists for equality | 
 +| ListItemDelete | Removes one element from a list. | 
 +| ListKeyCase | Changes the values of the whole list into uppercase or lowercase based on input | 
 +| ListToWholeNumbers | Given a list of floats, converts them all to whole numbers (aka integers.) | 
 +| ListXorY | Join two lists to make one new combined list, while also eliminating any resulting duplicates in the new list. | 
 +| ListXandY | This function examines two lists, and returns a new list composed of the elements that both lists have in common. | 
 +| ListXnotY | Show what x list has that y list is missing. |
 +| ListXxorY | Returns a new list, composed of elements that were in either original script, but not both. Note: This is not the same as getting rid duplicates by preserving just one of each duplicated item. It goes further, and removes both items. |
 +| ListXequY | Answers the question: is list X identical to list Y? |
 +| ListXneqY | Answers the question: is list X different from list Y? |
 +| Replace | Replaces a single occurrence of something in a list with something else that you specify. |
 +| Replace All | Replaces all occurrences of 'from list' with those in 'to list' in 'src list'. Not as concise as the replace function above, but will handle multiple items at the same time. |
 +| ListUnique | Given a list of elements, returns a list of only the unique individual elements in that list. |
 +| ccFixListDatatypes | Walks a list, casts the elements to the appropriate types, and returns a fixed list. Useful for things like llSetPrimitiveParams when you've parsed your data out of a string. |
 +| 2D Pseudo-Array | A way to emulate the behavior of a 2 dimensional array. |
QR Code
QR Code wiki:scripting_portal:lsl_lists (generated for current page)