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

Routines

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: Sat Jun 6 20:54:33 2009
Lines: 13
Docformat: rst rst