This wiki is out of date, use the continuation of this wiki instead

FALSE

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
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''' False+'''INT''' false
-False is a [[constant]] which is equal to every even integer. It is used to state that something is not [[true]].+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>
-VariableName = false;+Program example;
-if (variableName == false)+Private
- //do stuff+ 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
Personal tools