llListReplaceList

From Second Life Wiki
Revision as of 13:14, 21 February 2007 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search

Summary

Function: list llListReplaceList( list dest, list src, integer start, integer end );

Returns a list that is start through end of dest replaced with src.

• list dest
• list src
• integer start
• integer end

index supports negative indexes.

Specification

Index Positive Negative
First 0 -length
Last length - 1 -1

Indexes

  • Positive indexes count from the beginning, the first item being indexed as 0, the last as (length - 1).
  • Negative indexes count from the far end, the first item being indexed as -length, the last as -1.

Caveats

  • If index is out of bounds the script continues to execute without an error message.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Deep Notes

Search JIRA for related Issues

Signature

function list llListReplaceList( list dest, list src, integer start, integer end );