Difference between revisions of "ListStridedUpdate"

From Second Life Wiki
Jump to: navigation, search
Line 7: Line 7:
 
Updates part of a strided list.  
 
Updates part of a strided list.  
  
See also: [[List|Lists]]
+
See also: [[List#Strided_lists|Strided Lists]]
  
 
<lsl>
 
<lsl>

Revision as of 10:33, 13 July 2008

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

Updates part of a strided list.

See also: Strided Lists

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

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

}


</lsl>