Statements And blocks

C Styled Script
Reference Manual

<< Back  End  Next >>
 
 
INDEX
Introduction
Installation
Using The CSS Executive
Language
   Comments
   Literals
   Var And Const
   Operators
   Statements And blocks
   Program Flow
   Exception Handling
   Functions
   Predefined Identifiers
Directives
System Library
String Library
Regular Expression Lib.
File Library
Database Library
C API
C++ API
CSS Links
  

An expression becomes a statement as when it is followed by a semicolon:

var x = 5;
y = ++x * 7;
foo();

Braces { and } are used to group statements into a compound statement, so they are syntactically equivalent to a single statement:

{ y=z; foo(); }

The comma may be used to group several expressions into a single statement too:

y=z, foo();
 Copyright © IBK LandquartLast revised by Peter Koch, 24.02.00<< Back  Top  Next >>