[Lazarus] Sets not implemented??
Mattias Gaertner
nc-gaertnma at netcologne.de
Sat Jul 26 00:47:10 CEST 2008
On Fri, 25 Jul 2008 23:25:40 +0100
Dominique Louis <dominique at savagesoftware.com.au> wrote:
> 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?
fs:=fs+[fsBold];
or
Include(fs,fsBold);
Mattias
More information about the Lazarus
mailing list