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

 Arguments
   None.

 Features
   +----------------------------------------------------------------------+
   | Category             | numeric (integral)                            |
   | Size                 | 2 bytes                                       |
   | Range                | 0 to 65535                                    |
   | Parameter: value     | yes                                           |
   | Parameter: reference | yes                                           |
   | Parameter: const     | yes                                           |
   | Return               | yes                                           |
   +----------------------------------------------------------------------+

 Description
   The uint data type may hold any positive (or unsigned) integer
   in the set 0, 1, 2, ..., 65535.

 Example
   #define EXAMPLE_DATATYPE
   #include example.hdr

   vardef
      uint aNums[ 4 ] := -1, 0, 65535, 65536
      uint n
   enddef
   
   proc Test_uint
   for n := 0 to 3
      ? aNums[ n ]
   next
   endproc

   proc main
   Test_uint()
   endproc

See Also: int

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