itoc
Previous Topic  Next Topic 

Synopsis:

       char=itoc(ascii_val)                


Arguments:

       ascii_val - The ascii value to convert into a character


Description: This function converts the ascii value passed to the function into a string containing a single character which is the ASCII character represesent by the value given by ascii_val.      If zero or an invalid ascii value ( < 0 or > 255) is given then the function will return an empty string.


For example:


       // This will return " " (space)

       char=itoc(32);


       // This will return "A"

       char=itoc(65);


       // This will return "0"

       char=itoc(0x30);


Returns:  Returns a single character string which is the ASCII character represented by the value ascii_val.