[fpc-devel] FPC conditionals

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Nov 26 13:41:05 CET 2009


On Thu, 26 Nov 2009 13:38:53 +0100
Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:

> I'm extending the codetools scanner for directives conditionals.
> The doc mentions the following operators:
> =,  <>,  >,  <,  >=,  <=, AND,  NOT,  OR,  IN 
> 
> http://community.freepascal.org:10000/docs-html/prog/progsu99.html#x113-1120002.4.1
> 
> What does the IN operator? I mean, on what sets does it work? On pascal
> sets?
> 
> Are these the only operators? What about +, -, *, <<, >>, shl, shr,
> xor?

Allowed:
1+1<3

Not allowed:
(1+1)<3

Are brackets not supported?
Maybe only in some modes?

Mattias



More information about the fpc-devel mailing list