Difference between revisions of "Manuals/calci/CDR"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div style="font-size:30px">'''CDR (Array)'''</div><br/> *returns the tail of the array *CAR(Array) gives the head of the array. ==Description== *This function shows the ta...")
 
 
(2 intermediate revisions 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 15: Line 15:
  
 
==Examples==
 
==Examples==
 +
CDR(1..10)
 +
 +
gives
 +
 +
2 3 4 5 6 7 8 9 10
  
 
CAR(1..10)
 
CAR(1..10)
Line 20: Line 25:
 
gives 1
 
gives 1
  
CAR(Array)
+
 
 +
==Related Videos==
 +
 
 +
==See also==
 +
 
 +
*[[Manuals/calci/CAR| CAR]]
 +
 
 +
 
 +
==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 01: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