Welcome to the Exelis VIS product documentation center! Here you will find reference guides, help documents, and product libraries. Discover the products including ENVI, IDL, and ENVI LiDAR, and solutions developed by Exelis VIS at www.exelisvis.com.


LONARR

LONARR

The LONARR function returns a longword integer vector or array.

Examples


To create L, a 100-element, longword vector with each element set to 0, enter:

L = LONARR(100)

Syntax


Result = LONARR( D1 [, ..., D8] [, /NOZERO] )

Return Value


Returns a long array of the specified dimensions.

Arguments


Di

Either an array or a series of scalar expressions specifying the dimensions of the result. If a single argument is specified, it can be either a scalar expression or an array of up to eight elements. If multiple arguments are specified, they must all be scalar expressions. Up to eight dimensions can be specified. If the dimension arguments are not integer values, IDL will convert them to integer values before creating the new array.

Keywords


NOZERO

Normally, LONARR sets every element of the result to zero. If NOZERO is set, this zeroing is not performed and LONARR executes faster.

Version History


Original

Introduced

See Also


BYTARR, COMPLEXARR, DBLARR, DCOMPLEXARR, FLTARR, INTARR, LON64ARR, MAKE_ARRAY, STRARR, UINTARR, ULON64ARR, ULONARR



Comments


This page has no comments yet. Be the first one!

© 2013 Exelis Visual Information Solutions