If you are writing a script module, you may need to check which version of AGS the user
of your module is using.
For this purpose there are two directives:
#ifver 2.72
// do stuff for 2.72 and above
#endif
#ifnver 2.72
// do stuff for 2.71 and below
#endif
Note that this ability was only added in 2.72, so you cannot use the #ifver checks
if you want your module to work with earlier versions than this.
|