The pre-processor sub-system supports the definition and use of a special kind of variable. These are defined and modified with the @set pre-processor directive.
Once created, the variable can be used anywhere in the code, like this:
myString = "***" + @myvariable;
If you intend to hide this directive inside some comments, it must be done like this:
/*@myvariable @*/
See also: | Pre-processing, Pre-processing - /*@ ... @*/ |
Prev | Home | Next |
Pre-processing - /*@ ... @*/ | Up | Pre-processing - @_alpha |
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. |