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 THENPRINT ‘HELLO WORLD’
END IF

We use cookies to improve your site experience, but they also provide us with information on your use of our website.
To find out more about the cookies we use and how to delete them, see our Privacy Policy. By continuing to browse the site, you are consenting to our use of cookies.