Documentation for jbiu/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

misc/

push.pro

toppush

Misc

push, array, value

Adds an element to the end of a (possibly non-existent) array.

Parameters

array in required

An array to which the values are to be added. The array is created if it doesn't already exist.

value in required

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

Modifcation date: Fri Jun 13 10:51:55 2008
Lines: 41