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 - getcentury() return the century flag http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 getcentury()        Return the century flag
------------------------------------------------------------------------------
 Declaration
   getset.hdr

 Syntax
   func logical getcentury extern

 Arguments
   None.

 Return
   A logical indicating the current setting of the respective system flag.

 Description
   The getcentury() function returns the current setting of the
   century flag.

 Example
   #define EXAMPLE_DATE
   #include example.hdr

   proc Test_getcentury
   ? getcentury()     // print .f. (century is off by default)
   set century on
   ? getcentury()     // print .t.
   set century off
   ? getcentury()     // print .f.
   endproc

   proc main
   Test_getcentury()
   endproc

See Also: getsetcentury()

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