Modern IDL by Michael Galloy

API documentation for example code

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

programming/

mg_long.pro

includes main-level program

top source mg_long

result = mg_long(x [, /error])

Convert a variable to a long integer.

Return value

long value (-1L if the string could not be converted)

Parameters

x in required type=string

string to be converted to a long

Keywords

error out optional type=boolean

set to a named variable to get the error status of the conversion

File attributes

Modification date: Mon Nov 29 18:34:16 2010
Lines: 39
Docformat: rst rst