Difference between revisions of "Manuals/calci/CDR"

From ZCubes Wiki
Jump to navigation Jump to search
 
Line 34: Line 34:
  
 
==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 02:42, 25 February 2020

CDR (Array)


  • returns the tail of the array
  • CAR(Array) gives the head of the array.

Description

  • This function shows the tail value of the array.
  • Except the head value it will show all the other values.
  • This is the Opposite of CAR

ZOS

Available in ZOS also

Examples

CDR(1..10)

gives

2 3 4 5 6 7 8 9 10

CAR(1..10)

gives 1


Related Videos

See also


References

CDR