IF

You can use the IF Command to do control flow in your tiImport script.

AND, OR, NOT and parenthesis are supported in the logic.

Currently only the Equals operator is supported.

ELSE is optional in the IF statement.

Syntax:

IF expression1 = expression2 THEN
statementList
{ELSE
statementList}
END IF

Example:

IF @var1=10 THEN
PRINT ‘HELLO WORLD’
END IF
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.