Skip to content
Snippets Groups Projects
Commit 0d222f31 authored by rswindell's avatar rswindell
Browse files

New properties: system.version_num and system.version_hex, initialized with

the values of the newly defined macros of the same names. These allow easy
comparison for scripts. Example:
    if(system.version_num < 31301) /* v3.13b */
        print("version 3.13b or later required");
system.version_hex allows easy major/minor version number checking, parsing
or printing using right-shift operations instead of division/rounding. Example:
    31301/100 == 313.01
    0x31301>>8 == 0x313
parent b85e1b93
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment