next up previous 264
Next: AST_WARNINGS - Returns any warnings issued by the previous read or write operation
Up: AST Routine Descriptions
Previous: AST_UNITMAP - Create a UnitMap


AST_VERSION - Return the version of the AST library being used

Description:
This function returns an integer representing the version of the AST library being used. The library version is formatted as a string such as "2.0-7" which contains integers representing the "major version" (2), the "minor version" (0) and the "release" (7). The integer returned by this function combines all three integers together into a single integer using the expresion:

(major version)$*$1E6 $+$ (minor version)$*$1E3 $+$ (release)

Invocation:
RESULT = AST_VERSION()
Class Applicability:
Object
This routine applies to all Objects.
Returned Value:
AST_VERSION = INTEGER
The major version, minor version and release numbers for the AST library, encoded as a single integer.


next up previous 264
Next: AST_WARNINGS - Returns any warnings issued by the previous read or write operation
Up: AST Routine Descriptions
Previous: AST_UNITMAP - Create a UnitMap

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 210
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2009 Science \& Technology Facilities Council