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 - date date constants http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 date                Date constants
------------------------------------------------------------------------------
 Syntax
   MM/DD/YY                                                                   .

 Arguments
   MM is a two-digit number for the month.                                    |
   DD is a two-digit number for the day.                                      |
   YY is a two-digit number for the year.                                     |

 Description
   Date constants are implied for representing calendar values. Date
   constants can only be used to initialize date variables in global and
   static vardef blocks. Date constants can not be given in code blocks.

 Example
   #define EXAMPLE_CONSTANT
   #include example.hdr

   vardef
      date dDate := 08/20/98 // initialize variable with date constant
   enddef
   
   proc Test_date
   ? dDate
   endproc

   proc main
   Test_date()
   endproc

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