REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: first

first  value

Returns the first value of a series.

Arguments:

value

See also:

pick   second   third   fourth   fifth  

Description

This is an ordinal. It returns the first value in any type of series at the current position. If no value is found, none is returned.

print first "REBOL"
R
print first [11 22 33 44 55 66]
11
print first 1:30
1
print first 199.4.80.1
199
print first 12:34:56.78
12


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin