ListStridedRemove

From Second Life Wiki
Revision as of 10:36, 13 July 2008 by Chaz Longstaff (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

== Function: list ListStridedRemove(list src, integer start, integer end, integer stride ) ; ==

Removes a specified part of a strided list.

See also: Strided Lists

<lsl> list ListStridedRemove(list src, integer start, integer end, integer stride) {

   return llDeleteSubList(src, start * stride, (end * stride) + stride - 1);

}

list customers = ListStridedRemove(customers, 0, 0, STRIDELENGTH); </lsl>