Difference between revisions of "THEN"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m
imported>Clippy
m
 
Line 3: Line 3:
  
  
''Syntax:'' IF condition THEN execute_code
+
{{PageSyntax}}
 
+
:: IF condition THEN execute_code
  
  
 
* THEN is required on the same code line as the IF statement.
 
* 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:''
 
''See also:''
 
+
* [[IF...THEN]]
[[IF...THEN]]
+
* [[ELSE]], [[ELSEIF]]
 
+
* [[END IF]]
[[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