Difference between revisions of "Manuals/calci/CAR"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 35: | Line 35: | ||
==References== | ==References== | ||
− | + | [https://en.wikipedia.org/wiki/CAR_and_CDR CDR] | |
− | |||
− | |||
*[[Z_API_Functions | List of Main Z Functions]] | *[[Z_API_Functions | List of Main Z Functions]] | ||
*[[ Z3 | Z3 home ]] | *[[ Z3 | Z3 home ]] |
Latest revision as of 01:42, 25 February 2020
CAR(Array)
- returns the head of the array
- CDR(Array) gives the tail of the array
Description
- First element of the array is returned as a value
ZOS
Available in ZOS also
Examples
CAR(1..10)
gives 1
CDR(1..10)
gives
2 3 4 5 6 7 8 9 10
Related Videos
See also