Difference between revisions of "Array.car()"

From ZCubes Wiki
Jump to navigation Jump to search
 
Line 7: Line 7:
  
 
Get the first element of the array.
 
Get the first element of the array.
 +
 +
Same as [[Array.head()]]
  
 
A=1..100;
 
A=1..100;
Line 17: Line 19:
  
 
32
 
32
 +
 +
==See Also==
 +
[[Array.cdr() | cdr]]
 +
 +
[[Array.tail() |tail]]

Latest revision as of 09:07, 22 April 2020


Array.car()

Get the first element of the array.

Same as Array.head()

A=1..100; A.head()

1

A=32..789; A.car()

32

See Also

cdr

tail