question about chr
Posted on 1998-11-26
I am using Delphi 3 and have 2 edit boxes on the screen and 1 button.
In 1 edit box, I type lower case alphabet only words. When I press the button, I take each character 1 at a time, and add 1 to the ordinal value of the character. (Up to this point, this works fine)
Then I want to store each 'new' character into a string variable with a statement like this: var output:string;
output:=chr(x); <-- this is the line that the compiler keeps on saying that there is an error.
What am I doing wrong?