Definition: | sequence ver = version() |
Description: | version() is a function built-in to the interpreter. It indicates the version of the phix interpreter/compiler used, as per the constant phixverstr defined in pglobals.e, eg "0.7.6". |
Comments: | The call to verison() costs nothing. It is optimized at compile-time directly into a string literal. |
Example: |
?version() -- displays eg "0.7.6" printf(1,"Version %s\n",{version()}) -- displays eg Version 0.7.6 |
See Also: | platform |