On 9/20/13, wkitt...@windstream.net <wkitt...@windstream.net> 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 - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal