Pre-processing - /*@ ... @*/ (Delimiter)

A special form of the comment delimiters for enclosing pre-processor directives.

Availability:

JScript - 3.0
Internet Explorer - 4.0
JavaScript syntax:IE/*@someDirectives@*/
Argument list:someDirectivesOne or more pre-processor directives

This form of the comment delimiters is important when you need to use the JScript pre-processor directives. Enclosing them in a comment block hides them from non compliant browsers and script interpreters.

The pre-processor directive has the following general format:

@<some_keyword>

To hide it within comments, you need to modify it so it resembles this general form:

/*@<some_keyword> @*/

There are special requirements for enclosing entire blocks of code when the conditional inclusion directives are used. Refer to the @if topic for more details.

It seems to be convention to place a space character in front of the closing @*/ comment delimiter. This may not be strictly necessary for functional reasons but aids the readability of the directives when placed into portable code.

See also:@*/, Pre-processing, Pre-processing - @<variable_name>, Pre-processing - @_alpha, Pre-processing - @_jscript, Pre-processing - @_jscript_build, Pre-processing - @_jscript_version, Pre-processing - @_mac, Pre-processing - @_mc680x0, Pre-processing - @_PowerPC, Pre-processing - @_win16, Pre-processing - @_win32, Pre-processing - @_x86, Pre-processing - @cc_on, Pre-processing - @elif( ... ) ..., Pre-processing - @else ..., Pre-processing - @end, Pre-processing - @if( ... ) ..., Pre-processing - @set