Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FreshWin (c) Fresh Technologies - <b>isdate() pseudo-function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  ISDATE()                                                   Pseudo-Function
 Purpose..: Verify whether a item is a date variable
-------------------------------------------------------------------------------
 Syntax...: ISDATE( <uItem> ) --> lDate

 Arguments: <uItem>  = a variable to be checked for type.
                       There is no default.

 Returns..: lDate returns true if uItem is a date data type.

 Remark...: The command is a #translate function.

               #translate ISDATE( <v1> )   ;
                   => ;
                         ( valtype( <v1> ) == "D" )

            You must have a #include "FW_AIDS.CH" statement in your
            source code file to use the command.

 Source...: FW_AIDS.CH
-------------------------------------------------------------------------------
 Example..: In a function, you can use the command to check
            the variable type.

            iif( ISDATE( dToday ), dToday, lNotDate )


See Also:

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