WMLScript Developer's Guide
[Cover] [Previous Section] [Next Section] [Index]
Current chapter: Chapter 6 - Statements
Section 30 out of 57 total sections
, Section 4 out of 11 sections in this chapter
Block Statements
A block statement is a collection of statements enclosed in curly brackets ({}) that are treated as a single statement. Block statements are also known as compound statements.
The following is an example of a block statement:
{ //begin block statement
var i = 0;
var x = Lang.abs(b);
popUp("Remember!");
} //end block statement
[Cover] [Previous Section] [Next Section] [Index]
Part Number DKDS-41-002, UP.SDK Release 4.1, December 2000
Copyright © 1994-2000
Openwave Systems Inc. All rights reserved.
Please send comments and questions to
sdk-doc-comments@openwave.com.