The Wayback Machine - https://web.archive.org/web/20100903180305/http://msdn.microsoft.com:80/en-us/library/3xcfcb93(VS.85).aspx
JScript
JScript Statements (Windows Scripting - JScript)

The following table lists JScript statements.

Statements

Description

Language Element

Terminates the current loop, or if in conjunction with a label, terminates the associated statement.

break Statement

Contains statements to execute when an error occurs in code within the try block.

catch Statement

Activates conditional compilation support.

@cc_on Statement

Causes comments to be ignored by the JScript parser.

Comment Statements

Stops the current iteration of a loop, and starts a new iteration.

continue Statement

Starts the debugger.

debugger Statement

Executes a statement block once, and then repeats execution of the loop until a condition expression evaluates to false.

do...while Statement

Executes a block of statements for as long as a specified condition is true.

for Statement

Executes one or more statements for each element of an object or array.

for...in Statement

Declares a new function.

function Statement

Conditionally executes a group of statements, depending on the value of an expression.

@if Statement

Conditionally executes a group of statements, depending on the value of an expression.

if...else Statement

Provides an identifier for a statement.

Labeled Statement

Exits from the current function and returns a value from that function.

return Statement

Creates variables used with conditional compilation statements.

@set Statement

Enables the execution of one or more statements when a specified expression's value matches a label.

switch Statement

Refers to the current object.

this Statement

Generates an error condition that can be handled by a try...catch statement.

throw Statement

Implements error handling for JScript.

try Statement

Declares a variable.

var Statement

Executes a statement until a specified condition is false.

while Statement

Establishes the default object for a statement.

with Statement


break Statement (Windows Scripting - JScript)
@cc_on Statement (Windows Scripting - JScript)
Comment Statements (Windows Scripting - JScript)
continue Statement (Windows Scripting - JScript)
debugger Statement (Windows Scripting - JScript)
do...while Statement (Windows Scripting - JScript)
for Statement (Windows Scripting - JScript)
for...in Statement (Windows Scripting - JScript)
function Statement (Windows Scripting - JScript)
@if Statement (Windows Scripting - JScript)
if...else Statement (Windows Scripting - JScript)
Labeled Statement (Windows Scripting - JScript)
return Statement (Windows Scripting - JScript)
@set Statement (Windows Scripting - JScript)
switch Statement (Windows Scripting - JScript)
this Statement (Windows Scripting - JScript)
throw Statement (Windows Scripting - JScript)
try...catch...finally Statement (Windows Scripting - JScript)
var Statement (Windows Scripting - JScript)
while Statement (Windows Scripting - JScript)
with Statement (Windows Scripting - JScript)

MSDN Library
Web Development
Scripting
Microsoft Windows Script Technologies
JScript (Windows Script Technologies)
JScript Language Reference (Windows Scripting - JScript)
JScript Statements (Windows Scripting - JScript)
Tags: 
 
Community Content