Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - logical logical constants http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 logical             Logical constants
------------------------------------------------------------------------------
 Syntax
   .f.
   .t.

 Arguments
   None.

 Description
   Logical constants are used to express the false and true conditions.
   The internal numeric representation of .f. and .t. is zero and non-zero,
   respectively.

 Example
   #define EXAMPLE_CONSTANT
   #include example.hdr

   proc Test_logical
   ? .f.
   ? .t.
   cursor( .f. )     // using logical constants as function parameters
   cursor( .t. )
   endproc

   proc main
   Test_logical()
   endproc

See Also: numeric

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson