On 22.09.2013 13:38, wkitt...@windstream.net wrote:
On Saturday, September 21, 2013 12:03 PM, patspiper <patspi...@gmail.com> wrote:
On 21/09/13 18:56, wkitt...@windstream.net wrote:
[...]
i haven't tried that... my understanding is that #xx depicts the decimal
format of the character...
eg : $FF == #255
It is rather #$FF which is the same as #255, like Chr(255)
this worked, pat... thanks for the pointer!
but i'm still confused as to what # means to indicate... i've always understood
it to indicate the decimal value of a raw byte whereas $ indicates the hex
value of a raw byte... i haven't found anything showing the use of #$xxx though
:/
'#' indicates a character. This is followed by either a decimal or
hexadecimal ('$') value (maybe - in FPC - binary ('%') and octal ('&')
values are possible as well).
Regards,
Sven
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal