chr

Declaration

cstring(1) function chr(integer I)

Description

chr converts integer I to a null terminated string of length 1. Integer I should be less than or equal to 255.

Example Stored Procedure

CREATE PROCEDURE test_chr(I Integer)

RETURNS (result char(1)) AS

BEGIN

result = chr(I);

END!!

WISQL - calling the example stored procedure

execute procedure test_chr(65);

RESULT

======

A

execute procedure test_chr(48);

RESULT

======

0