Statement separation

Description

Although you typically put one statement on each line, you occasionally want to combine multiple statements on a single line. The statement separation character is the semicolon (;).

Syntax

Statement1; statement2

Examples

The following line contains three short statements:

A = B + C;  D = E + F;  Count = Count + 1