Microsoft® JScript @set Statement |
Language Reference Version 3 |
Allows creation of variables to be used in conditional compilation statements.
@set @varname [= term]The @set statement syntax has these parts:
Part Description varname Valid JScript variable name. Must be preceded by an "@" character at all times. term Zero or more unary operators followed by either a constant, conditional compilation variable, or parenthesized expression.
Numeric and Boolean variables are supported for conditional compilation. Strings are not.The following operators are supported in parenthesized expressions:Examples of variable declarations look like this:
@set @myvar1 = 12 @set @myvar2 = (@myvar1 * 20) @set @myvar3 = @_jscript_version
This works because NaN is the only value not equal to itself.@if (@newVar != @newVar) ...
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/inet/iis/jscript/htm/js764.htm, 3KB, , updated: 2008/1/31 21:58, local time: 2024/11/8 19:53,
3.140.186.17:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/techref/inet/iis/jscript/htm/js764.htm"> @set Statement</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.