For example:
x := #123;
I tried to search around Google but I simply have no idea what this means.
For example:
x := #123;
I tried to search around Google but I simply have no idea what this means.
IIRC it means a character value of the number (eg. #32 -> space).
It is an extention to standard Pascal, Borland Pascal accepts the pound sign ('#') followed immediately by a decimal number between 0 and 255 as a single character with that code.
It's character code. #97 is equivalent to 'a' etc etc
A chart can be see here.
As other have mentioned it's a character code, I most often see them used for line breaks in messages, or other control character such as Tab (#9)
ShowMessage('Error:'#13#10'Something terrible happened')
Strangely it's not necessary to concatinate a string involving these.