下面是條件編譯可用的預定義變量。如果變量不是 true,就不被定義或者作為 NaN 處理。
變量 | 描述 |
---|---|
@_win32 | 在 Win32 系統(tǒng)上運行為 true。 |
@_win16 | 在 Win16 系統(tǒng)上運行為 true。 |
@_mac | 在 Apple Macintosh 系統(tǒng)上運行為 true。 |
@_alpha | 在 DEC Alpha 處理器上運行為 true。 |
@_x86 | 在 Intel 處理器上運行為 true。 |
@_mc680x0 | 在 Motorola 680x0 處理器上運行為 true。 |
@_PowerPC | 在 Motorola PowerPC 處理器上運行為 true。 |
@_jscript | 永遠為 true。 |
@_jscript_build | 包含 Jscript 腳本引擎創(chuàng)建號。 |
@_jscript_version | 包含以 major、minor 為格式的 Jscript 版本號。 |