Changes

Jump to navigation Jump to search
6 bytes removed ,  21:45, 9 August 2014
{| width='100%'
| width='120' | '''Signatures'''
|{{Func|array:subarray|$array as array(*), $start index as xs:integer|array(*)}}<br/>{{Func|array:subarray|$array as array(*), $start index as xs:integer, $length as xs:integer|array(*)}}
|-
| '''Summary'''
| Constructs a new array with with {{Code|$length}} members of {{Code|$array}} beginning from the {{Code|$startindex}} index.<br/>The two-argument version of the function returns the same result as the three-argument version when called with {{Code|$length}} equal to the value of {{Code|array:size($array) - $start index + 1}}.
|-
| '''Errors'''
|{{Error|FOAY0001|#Errors}}: {{Code|$startindex}} is less than one, or if {{Code|$start index + $length}} is greater than {{Code|array:size($array) + 1}}.<br/>{{Error|FOAY0002|#Errors}}: {{Code|$length}} is less than zero.
|-
| '''Examples'''
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu