misc/
push.pro
top source push
Misc
Adds an element to the end of a (possibly non-existent) array.
Parameters
- array in
An array to which the values are to be added. The array is created if it doesn't already exist.
- value in
A value to be added to the end of Array. Must be the same type as Array.
Examples
IDL> PUSH, a, 5
IDL> PRINT, a
5
IDL> PUSH, a, 8
IDL> PRINT, a
5 8
Author information
- History:
Written by: Jeremy Bailin 12 June 2008 Public release in JBIU
File attributes
| Modification date: | Wed Apr 15 16:08:10 2009 |
| Lines: | 41 |
![[attach.png]](../idldoc-resources/attach.png)