Difference between revisions of "LlListInsertList"

From Second Life Wiki
Jump to navigation Jump to search
m (LSL llListInsertList moved to LlListInsertList: removing prefix)
Line 1: Line 1:
{{LSL_Function
{{LSL_Function/negative index|true|start}}{{LSL_Function
|func_id=200|func_sleep=0.0|func_energy=10.0
|func_id=200|func_sleep=0.0|func_energy=10.0
|func=llListInsertList|return_type=list|p1_type=list|p1_name=dest|p2_type=list|p2_name=src|p3_type=integer|p3_name=start
|func=llListInsertList|return_type=list|p1_type=list|p1_name=dest|p2_type=list|p2_name=src|p3_type=integer|p3_name=start
Line 18: Line 18:
|notes
|notes
|permission
|permission
|negative_index=true
|sort=ListInsertList
|sort=ListInsertList
|cat1=List
|cat1=List

Revision as of 13:13, 21 February 2007

Summary

Function: list llListInsertList( list dest, list src, integer start );

Returns a list that is src inserted into dest at position start.

• list dest
• list src
• integer start

start 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 start 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 llListInsertList( list dest, list src, integer start );