dist_tools/
mg_idlversion.pro
includes main-level programRoutines
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
Keywords
- require in optional type=string
IDL version required; if set,
MG_IDLVERSION
returns a boolean of whether the version requirement is met
Examples
For example, try:
IDL> print, mg_idlversion()
8.0.1
IDL> print, mg_idlversion(require='8.0.1')
1
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 |
Contact me if you have enhancement requests or bug fixes.