char_val -- generates a character's numeric value.
Returns
The ASCII (numeric) value of the first character in the
argument string.
Description
Generates the ASCII (numeric) representation of the first
character in a string.
Example
Gamma> char_val ("A");
65
Gamma> char_val ("q");
113
Gamma> char_val ("hope for all");
104
Gamma> char_val ("3");
51
Gamma> char_val ("ô");
-12
Gamma>
Copyright 1995-2002 by
Cogent Real-Time Systems, Inc.