Skip to content
  • rswindell's avatar
    0d222f31
    New properties: system.version_num and system.version_hex, initialized with · 0d222f31
    rswindell authored
    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
    0d222f31
    New properties: system.version_num and system.version_hex, initialized with
    rswindell authored
    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
Loading