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

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

 Returns..: lChar returns true if uItem is a character data type.

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

               #translate ISCHAR( <v1> )   ;
                   => ;
                         ( valtype( <v1> ) == "C" )

            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( ISCHAR( cPicked ), cPicked, FALSE )


See Also:

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