On 9/20/13, [email protected] <[email protected]> wrote:

>
> a[n] := #255;  // works
> a[n] := $ff;     // does not work
>
> ideally, there would be multiple bytes...
>
> a[n] := $C2AD  or  a[n] := $C2$AD
>

Not sure what you want:

a[n] := #$FF;  (which equals a[n] := #255)
a[n] := '$FF' (note the single quotes), assuming a[n] is of type String.

Bart
_______________________________________________
fpc-pascal maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to