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


  >  Docs Center  >  Libraries  >  Galloy  >  mg_arg

mg_arg

mg_arg.pro (mglib)

Handle an argument to a routine.

Syntax


result = mg_arg(arg [, default=any] [, error=long] [, types=lonarr] [, /ensure_array] [, /ensure_scalar] [, /ensure_simple])

Return value


argument value

Parameters


arg in required type=any

argument

Keywords


default in optional type=any

default value for argument

error out optional type=long

set to a named variable

types in optional type=lonarr

set to an array of valid type size codes

ensure_array in optional type=boolean

set to indicate argument should be an array

ensure_scalar in optional type=boolean

set to indicate argument should be a scalar

ensure_simple in optional type=boolean

set to indicate argument should be "simple"



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