THEN

From QB64 Phoenix Edition Wiki
Revision as of 23:45, 19 April 2022 by BigRon55 (talk | contribs) (Created page with "'''THEN''' is required in IF...THEN conditional evaluation statements. {{PageSyntax}} :: IF condition THEN execute_code * THEN is required on the same code line as the IF statement. * The condition value must be true(-1) or <> 0 for the statement code to be executed. ''See also:'' * IF...THEN * ELSE, ELSEIF * END IF {{PageNavigation}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

THEN is required in IF...THEN conditional evaluation statements.


Syntax

IF condition THEN execute_code


  • THEN is required on the same code line as the IF statement.
  • The condition value must be true(-1) or <> 0 for the statement code to be executed.


See also:



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage