Personal IDL library for M. Galloy

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


includes main-level program


top 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: Wed May 14 15:07:14 2014
Lines: 17
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.