Tools for distributing IDL applications

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



includes main-level program

top source mg_idlversion

result = mg_idlversion( [require=string])

Returns the IDL version number as a string or a boolean indicating whether a required version is met.

Return value

string version number or boolean


require in optional type=string

IDL version required; if set, MG_IDLVERSION returns a boolean of whether the version requirement is met


For example, try:

IDL> print, mg_idlversion() 8.0.1 IDL> print, mg_idlversion(require='8.0.1') 1
Also, try the main-level program at the end of this file:
IDL> .run mg_idlversion Version: 8.0.1 Can require 6.4: yes Can require 7.1: yes Can require 7.2: yes

File attributes

Modification date: Thu Feb 17 16:55:34 2011
Lines: 53
Docformat: rst rst