1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-03 10:01:21 +00:00
qb64/internal/help/_OS$.txt

20 lines
789 B
Plaintext
Raw Normal View History

2017-10-10 14:55:21 +00:00
The [[_OS$]] function returns the operating system and QB64 compiler bit version used to compile a QB64 program.
2016-03-18 11:36:04 +00:00
{{PageSyntax}}
2017-10-10 14:55:21 +00:00
: {{Parameter|compilerVersion$}} = [[_OS$]]
2017-10-10 14:55:21 +00:00
{{PageDescription}}
2019-04-15 01:15:33 +00:00
* Returns a [[STRING]] listing the OS as [WINDOWS], [LINUX] or [MACOSX] and the compiler bit format of [32BIT] or [64BIT]. Example: {{text|[WINDOWS][32BIT]}}
2016-03-18 11:36:04 +00:00
* Allows a BAS program to be compiled with QB64 in Windows, Linux or MacOSX using different OS or language specifications.
2017-10-10 14:55:21 +00:00
* Use the return {{Parameter|compilerVersion$}} to specify the current OS code to use when a BAS program is compiled using another version of the QB64 compiler.
* Windows can use either a 32 (default) or 64 bit compiler. Linux and Mac use 64 bit by default.
2017-10-10 14:55:21 +00:00
{{PageSeeAlso}}
* [[ENVIRON$]]
2019-04-15 01:15:33 +00:00
{{PageNavigation}}