- This wiki is out of date, use the continuation of this wiki instead
FALSE
From FenixWiki
(Difference between revisions)
| Revision as of 14:34, 1 May 2007 (edit) FCR (Talk | contribs) ← Previous diff |
Revision as of 15:55, 1 May 2007 (edit) (undo) Sandman (Talk | contribs) Next diff → |
||
| Line 1: | Line 1: | ||
| == Definition == | == Definition == | ||
| - | '''INT''' | + | '''INT''' false |
| - | False is a [[constant]] | + | False is a [[constant]] [[int]]eger, equal to the value 0. It is used to state that something is not [[true]]. |
| == Example == | == Example == | ||
| <pre> | <pre> | ||
| - | + | Program example; | |
| - | if ( | + | Private |
| - | + | int b = false; | |
| - | end | + | Begin |
| + | |||
| + | if (b == false) | ||
| + | say("b was false! so b==0"); | ||
| + | else | ||
| + | say("b was not false! so b!=0"); | ||
| + | end | ||
| + | |||
| + | Loop | ||
| + | frame; | ||
| + | End | ||
| + | |||
| + | End | ||
| </pre> | </pre> | ||
| [[category:constants]] | [[category:constants]] | ||
Revision as of 15:55, 1 May 2007
Definition
INT false
False is a constant integer, equal to the value 0. It is used to state that something is not true.
Example
Program example;
Private
int b = false;
Begin
if (b == false)
say("b was false! so b==0");
else
say("b was not false! so b!=0");
end
Loop
frame;
End
End
