Difference between revisions of "THEN"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
(Created page with ''''THEN''' is required in IF...THEN evaluation statements. ''Syntax:'' IF evaluation THEN execution_code ==Navigation:== [[Keyword_Reference_-_Alphabetical|Go to Keywo…')
 
imported>Clippy
m
 
(3 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
  
  
 +
* 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.
  
==Navigation:==
 
  
[[Keyword_Reference_-_Alphabetical|Go to Keyword Reference - Alphabetical]]
+
''See also:''
 +
* [[IF...THEN]]
 +
* [[ELSE]], [[ELSEIF]]
 +
* [[END IF]]
  
[[Keyword Reference - By usage|Go to Keyword Reference - By usage]]
+
 
 +
{{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