Difference between revisions of "THEN"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
imported>Clippy
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''THEN''' is required in [[IF...THEN]] evaluation statements.
+
'''THEN''' is required in [[IF...THEN]] conditional evaluation statements.
  
  
  
''Syntax:'' IF evaluation THEN execution_code
+
{{PageSyntax}}
 +
:: IF condition THEN execute_code
  
  
''See also:''
+
* 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.
  
[[IF...THEN]]
 
 
[[ELSE]], [[ELSEIF]]
 
 
[[END IF]]
 
  
 +
''See also:''
 +
* [[IF...THEN]]
 +
* [[ELSE]], [[ELSEIF]]
 +
* [[END IF]]
  
  
 
{{PageNavigation}}
 
{{PageNavigation}}

Latest revision as of 03:23, 10 May 2011

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:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page