ascii

Declaration

integer function ascii(char(1) C)

Description

ascii converts the char c to an integer.

Example Stored Procedure

CREATE PROCEDURE test_ascii(C char(1))

RETURNS (result integer) AS

BEGIN

result = ascii(C);

END!!

WISQL - calling the example stored procedure

execute procedure test_ascii("A");

RESULT

===========

65

execute procedure test_ascii("0");

RESULT

===========

48