Ah, OK. 
So you can:
var
S: string;
begin
S := 'A';
Write(IntToStr(Ord(S[1])));
end;
Thank you so much...
...I don't suppose you know what the
[1]
does? I've never seen that before.
Interesting.
It's common knowledge that the individual characters of a string can be accessed via array subscription, but apparently this code construct is not documented in the reference guide.