My favorites | Sign in
Project Logo
                
Search
for
Updated Feb 04, 2010 by jannone
IfElse  
C-style if/else blocks

IF / ELSE

You can use C-style if/else blocks. Blocks are nested, so you can use an if block inside another if block.

The preprocessor will translate these blocks into labels and gotos as needed.

Examples

X=15

$if X < 10 {
	PRINT "X is smaller than 10"
} $else {
	PRINT "X is greater or equal 10"
	$if X = 15 {
		PRINT "X is actually 15"
	}
}

Sign in to add a comment
Powered by Google Project Hosting