 |
Defining a Minimum AMS Version |
In some cases it might be desirable to use features which are only present in
the latest versions of the AMS. In this case, you need to define the minimum
version the program will run under explicitly, like this:
#define MIN_AMS 200
MIN_AMS
has to be a 3-digit decimal number, which is obtained by
multiplying the AMS version with 100 (or omitting the dot, if the version has
the format "x.xx").
If you do not specifiy a sufficient minimum AMS version, the functions and
constants which are not available will not even be defined. Note that
MIN_AMS
defaults to 101, which means AMS 1.01 on the TI-92 Plus,
and AMS 1.00 on the TI-89. These two versions are in fact the same.
You can bypass the AMS check which is performed at startup by defining
NO_AMS_CHECK
.
To find out about the different ways we try to overcome AMS dependencies,
read the next section,
Overcoming AMS Dependencies.