Difference between revisions of "Manuals/calci/CDR"

 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
*This function shows the tail value of the array.
 
*This function shows the tail value of the array.
 
*Except the head value it will show all the other values.
 
*Except the head value it will show all the other values.
*This is the Opposite of  [[Manuals/calci/CAR CAR]]
+
*This is the Opposite of  [[Manuals/calci/CAR | CAR]]
  
 
==ZOS==
 
==ZOS==
Line 34: Line 34:
  
 
==References==
 
==References==
 +
[https://en.wikipedia.org/wiki/CAR_and_CDR  CDR]
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 +
*[[ 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