This is an old revision of the document!
ACSUtils exposes its version as numeric constants and as a string. E.g. ACSUtils 1.8.0 will define the following constants:
#define ACSUTILS_VERSION_MAJOR 1 #define ACSUTILS_VERSION_MINOR 8 #define ACSUTILS_VERSION_PATCH 0
ACSUtils also provides a simple function to get ACSUtis version as string. The reason it's not a constant is because ACC doesn't support string constants.
str ACSUtilsVersion()
– returns ACSUtils version as a string, e.g. “1.8.0”
.
Example:
print(s:"This mod is using ACSUtils ", s:ACSUtilsVersion());