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 - long long integer data type http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 long                Long integer data type
------------------------------------------------------------------------------
 Syntax
   long

 Arguments
   None.

 Features
   +----------------------------------------------------------------------+
   | Category             | numeric (integral)                            |
   | Size                 | 4 bytes                                       |
   | Range                | -2147483648 to 2147483647                     |
   | Parameter: value     | yes                                           |
   | Parameter: reference | yes                                           |
   | Parameter: const     | yes                                           |
   | Return               | yes                                           |
   +----------------------------------------------------------------------+

 Description
   The long data type may store any integer in the set -2147483648,
   ..., -1, -2, 0, 1, 2, ..., 2147483647.

 Example
   #define EXAMPLE_DATATYPE
   #include example.hdr

   proc Test_long
   vardef
      long gNum
   enddef
   gNum := 0xffffffff
   ? gNum                    // prints -1
   endproc

   proc main
   Test_long()
   endproc

See Also: ulong

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