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>isnum() pseudo-function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  ISNUM()                                                    Pseudo-Function
 Purpose..: Verify whether a item is a numeric variable
-------------------------------------------------------------------------------
 Syntax...: ISNUM( <uItem> ) --> lNum

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

 Returns..: lNum returns true if uItem is a numeric data type.

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

               #translate ISNUM( <v1> )   ;
                   => ;
                         ( valtype( <v1> ) == "N" )

            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( ISNUM( nDoctors ), nDoctors, nDefault )


See Also:

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