test

site.baseurl=/test

page.path=std/array/at.md

page.slug=

page.dir=/std/array/

page.url=/std/array/at.html

page.url=/std/array/at/index.html

page.url=/std/array/at.html

Home "", "std", "array" > Standard library > std#array > std#array#at

BLink > Standard library > std#array > at

BLink / Standard library / std#array / at

std#array#at

Returns the value at the specified index in the array.

Syntax

at <array> <out: value> <index>

Parameters

Name Description
array the array
value reference to the output value
index position of the element to return

Errorlevel

Non-zero if index is not within the range of the array.

See also

Name Description
set_at replace the specified element
back access the last element
front access the first element