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

 Syntax
   func uint getepoch extern

 Arguments
   None.

 Return
   The current epoch year setting.

 Description
   The getepoch() function returns the current epoch year setting.

 Example
   #define EXAMPLE_DATE
   #include example.hdr

   proc Test_getepoch
   ? getepoch()     // print 1900 (the default for epoch)
   set epoch to 1980
   ? getepoch()     // print 1980
   set epoch to 2000
   ? getepoch()     // print 2000
   endproc

   proc main
   Test_getepoch()
   endproc

See Also: getsetepoch() set epoch to

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