Hi, I just tried to do the following...

uses
   Graphics;

var
   fs : TFontStyles;
begin
   fs := fs or fsBold;
   fs := fs or fsItalic;
end;

at compilation time I get the error...
"Operation not implemented for sets"

Will "or" or "+" ever be implemented for sets?
Is there another way to easily work with sets?


Thanks,



Dominique;
_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to