This directive should yield the value true when tested on any Macintosh system.
In MSIE version 5, it yields the value NaN which is what you would expect on a non Macintosh system.
If you intend to hide this directive inside some comments, it must be done like this:
/*@_mac @*/
See also: | Pre-processing, Pre-processing - /*@ ... @*/ |
Prev | Home | Next |
Pre-processing - @_jscript_version | Up | Pre-processing - @_mc680x0 |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |