For example:
x := #123;
I tried to search around Google but I simply have no idea what this means.
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 chr(97) etc etc
#123
is a character (Char
type) of the ordinal value 123
.
It's character code. #97 is equivalent to 'a' etc etc
A chart can be see here.
IIRC it means a character value of the number (eg. #32 -> space).
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.