Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript Statements

Statement

Description

JScript break Statement

Terminates the current loop or associated statement.

JScript @cc_on Statement

Activates conditional compilation support.

JScript Comment Statements

Causes comments to be ignored by the JScript parser.

JScript continue Statement

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

JScript do. . . while Statement

Executes a block once, and then repeats execution of the loop until a conditional expression evaluates to False.

JScript for Statement

Executes a block of statements as long as a specified condition is True.

JScript for. . . in Statement

Executes a statement for each element of an object or array.

JScript function Statement

Declares a new function.

JScript @if Statement

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

JScript if. . . else Statement

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

JScript Labeled Statement

Provides an identifier for a statement.

JScript return Statement

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

JScript @set Statement

Allows creation of variables used in conditional compilation statements.

JScript switch Statement

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

JScript this Statement

Refers to the current object.

JScript var Statement

Declares a variable.

JScript with Statement

Establishes the default object for a statement.

JScript while Statement

Executes a statement until a specified condition is False.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.