Firebird Documentation IndexFirebird 1.5 Language Ref. UpdateExternal functions (UDFs) → ascii_char
Firebird Home Firebird Home Prev: addYearFirebird Documentation IndexUp: External functions (UDFs)Next: dow

ascii_char

Library: ib_udf

Changed in: 1.0

Description: Returns the ASCII character corresponding to the integer value passed in.

Return type: CHAR(1)

Syntax (unchanged): 

ascii_char (intval)

Declaration (changed): 

DECLARE EXTERNAL FUNCTION ascii_char
   INTEGER
   RETURNS CSTRING(1) FREE_IT
   ENTRY_POINT 'IB_UDF_ascii_char' MODULE_NAME 'ib_udf'

The declaration has been changed to reflect the fact that the UDF as such returns a 1-character C string, not an SQL CHAR(1) as stated in the InterBase declaration. The engine will pass it on to the caller as a CHAR(1) though.

Prev: addYearFirebird Documentation IndexUp: External functions (UDFs)Next: dow
Firebird Documentation IndexFirebird 1.5 Language Ref. UpdateExternal functions (UDFs) → ascii_char