Ross Levis wrote: > The compiler is complaining about the const Zeros declaration > Zeros: array[0..1023] of Byte = [0]; > > Incompatible types: 'Array' and 'Set'.
Oops. Those should have been parentheses, not brackets. I _knew_ something didn't quite look right about that line. > Should it perhaps need to be a global variable which I fill using > FillChar? If the above fix does work, then yes, I guess so. C++ accepts syntax like that, letting me specify the contents of one element and using zeros for all the rest. I think Delphi allows that, too, at least sometimes. The other option is to include zeros for all the elements of the array. -- Rob _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

