ll.List2ListSlice (ListVariable: list, Start: number, End: number, Stride: number, slice_index: number) -> listReturns a subset of entries from ListVariable, in a range specified by Start and End indices (inclusive) return the slice_index element of each stride. Using negative numbers for Start and/or End causes the index to count backwards from the length of the list. (e.g. 0, -1 captures entire list) If slice_index is less than 0, it is counted backwards from the end of the stride. Stride must be a positive integer > 0 or an empy list is returned. If slice_index falls outside range of stride, an empty list is returned. slice_index is zero-based. (e.g. A stride of 2 has valid indices 0,1)
ll.List2ListSlice(
{},
3.14,
3.14,
3.14,
3.14
)
{
"def": "func",
"desc": "Returns a subset of entries from ListVariable, in a range specified by Start and End indices (inclusive) return the slice_index element of each stride.\n Using negative numbers for Start and/or End causes the index to count backwards from the length of the list. (e.g. 0, -1 captures entire list)\nIf slice_index is less than 0, it is counted backwards from the end of the stride.\n Stride must be a positive integer > 0 or an empy list is returned. If slice_index falls outside range of stride, an empty list is returned. slice_index is zero-based. (e.g. A stride of 2 has valid indices 0,1)",
"energy": 10,
"sleep": 0,
"must_use": true,
"link": "https://wiki.secondlife.com/wiki/LlList2ListSlice",
"private": false,
"takesSelf": false,
"name": "List2ListSlice",
"signatures": [
{
"def": "signature",
"result": [
{
"name": "",
"def": "result",
"desc": "",
"variadic": false,
"type": [
{
"def": "simple",
"value": "list"
}
],
"optional": false
}
],
"args": [
{
"def": "arg",
"name": "ListVariable",
"desc": "",
"type": [
{
"def": "simple",
"value": "list"
}
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "Start",
"desc": "",
"type": [
{
"def": "simple",
"value": "number"
}
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "End",
"desc": "",
"type": [
{
"def": "simple",
"value": "number"
}
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "Stride",
"desc": "",
"type": [
{
"def": "simple",
"value": "number"
}
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "slice_index",
"desc": "",
"type": [
{
"def": "simple",
"value": "number"
}
],
"variadic": false,
"optional": false
}
]
}
]
}