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
Comments
Please sign in to leave a comment.