Difference between revisions of "Array.tail()"

From ZCubes Wiki
Jump to navigation Jump to search
 
Line 12: Line 12:
 
A=20..30;  
 
A=20..30;  
 
A.tail()
 
A.tail()
 +
  
 
21  22  23  24 25  26  27  28  29  30
 
21  22  23  24 25  26  27  28  29  30
Line 17: Line 18:
 
A=(-10)..10;  
 
A=(-10)..10;  
 
A.tail()
 
A.tail()
 +
  
 
-9  -8  -7  -6  -5  -4  -3  -2  -1  0  1  2  3  4  5  6  7  8  9  10
 
-9  -8  -7  -6  -5  -4  -3  -2  -1  0  1  2  3  4  5  6  7  8  9  10

Latest revision as of 09:22, 22 April 2020


Array.tail()

Get the tail of the array, without the first element.

Same as Array.cdr()

A=20..30; A.tail()


21 22 23 24 25 26 27 28 29 30

A=(-10)..10; A.tail()


-9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10

See Also

car

head