Pre-processing - @_alpha (Pre-processor)

A pre-processor constant indicating whether the script is running in a DEC alpha workstation.


JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Boolean primitive
JavaScript syntax:IE@_alpha

This pre-processor constant yields true when used on a DEC alpha processor and NaN otherwise.

Since MSIE only runs on Macintosh and Windows platforms, and a DEC alpha is not a Macintosh, there is an implication here that this will be true only when MSIE is running on Windows NT on a DEC alpha. It should also be the case that the @_win32 directive returns true as well.

If you intend to hide this directive inside some comments, it must be done like this:

/*@_alpha @*/

See also:Pre-processing, Pre-processing - /*@ ... @*/