please dont rip this site
Microsoft® JScript™
@if Statement
 Language Reference 
Version 3 

See Also


Description
Conditionally executes a group of statements, depending on the value of an expression.
Syntax
@if (condition1)
     text1
[@elif (condition2)
     text2]
[else
     text3]
@end

The @if statement syntax has these parts:

Part Description
condition1, condition2 An expression that can be coerced into a Boolean expression.

text1 Text to be parsed if condition1 is true.
text2 Text to be parsed if condition1 is false and condition2 is true.
text3 Text to be parsed if both condition1 and condition2 are false.
Remarks
When writing an @if statement, its clauses do not have to appear on separate lines. In addition, you may use multiple @elif clauses. If you do, all must come before an @else clause.

You commonly use the @if statement to determine which text among several options should be used for text output. For example:

alert(@if (@_win32) "using Windows NT or Windows 95" @else "using Windows 3.1" @end)

© 1997 by Microsoft Corporation. All rights reserved.


file: /Techref/inet/iis/jscript/htm/js746.htm, 3KB, , updated: 2008/2/2 06:46, local time: 2024/12/25 21:37,
TOP NEW HELP FIND: 
3.142.251.204:LOG IN

 ©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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://techref.massmind.org/Techref/inet/iis/jscript/htm/js746.htm"> @if Statement</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to techref.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .