Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.

  >  Docs Center  >  Using IDL  >  Looking Up Variables in Current Scope


Looking Up Variables in Current Scope

Looking Up Variables in Current Scope

The IDL_FindNamedVariable() function returns the address of a variable in the current execution scope given its name:

IDL_VPTR IDL_FindNamedVariable(char *name, int ienter)


Name of the variable to find.


Set this parameter to TRUE to create the variable if it does not already exist.

If the variable is found (or created if ienter is TRUE), its IDL_VPTR is returned. Otherwise, NULL is returned.

Note: Even if ienter is TRUE, this routine can return NULL if creating the variable is not possible due to memory constraints.

© 2018 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us