RosettaCodeData/Task/Character-codes/ALGOL-W/character-codes.alg

7 lines
222 B
Plaintext

begin
% display the character code of "a" (97 in ASCII) %
write( decode( "a" ) );
% display the character corresponding to 97 ("a" in ASCII) %
write( code( 97 ) );
end.