Skip to content

transcendent __compiler_version__

IsaacShelton edited this page Mar 21, 2022 · 1 revision

__compiler_version__

__compiler_version__ is a compiler-defined transcendent variable.

It will be a float value with version number of the compiler

Usage Example

#if __compiler_version__ >= 2.3
    #print "Passed compiler version check"
    #halt
#end

#error "Compiler version is less than 2.2"
Passed compiler version check
Clone this wiki locally