11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

$IFNDEF<br />

Syntax<br />

1-33 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

$IFNDEF var statements1 [$ELSE statements2] $ENDIF<br />

Description<br />

The <strong>UniBasic</strong> $IFNDEF command conditionally compiles <strong>UniBasic</strong> statements<br />

depending on the absence of a variable definition. Variables are defined by<br />

$DEFINE.<br />

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

var Specifies variable to check to determine whether to compile statements1<br />

or statements2.<br />

statements1 Specifies statements to compile if var is not defined.<br />

statements2 Specifies optional statements to compile if var is defined.<br />

$IFNDEF Parameters

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!