t3x.org / t3x / t3x-manual / 278.html
 
T3X - A Minimum Procedural Language
Version 8.1.5, Online Edition
Copyright(C) 1996-2004
Nils M Holm
 
Previous:
2.7.7 Local Symbols
TOC | Index | Back Next:
2.8 Procedures

2.7.8 Empty Statements

There are two forms of the empty statement (aka null statement) in T3X. The first form is the single semicolon

;

and the second form is the empty compound statement:

DO END

Both null statements have absolutely no effect. Their only purpose is to fill a gap where a statement is required, but nothing is to do. For example, they are useful to indicate explicitly that a condition is not connected to any action:

IE (condition1)
        statement1
ELSE IE (condition2)
        ;               ! Do nothing
ELSE IF (condition3)
        statement2
Previous:
2.7.7 Local Symbols
TOC | Index | Back Next:
2.8 Procedures