If, PRGM:CTL:1, is a command that, when its condition is true, will execute the next line of code. If the condition happens to be false, then the program will skip to the second line of code after the statement.

Syntax: WIlEdit

:If condition
  • Where condition is either an (in)equality (X=3, A>B), or an expression (5+2X), which resolves to be either true (non-zero) or false (zero).