Subject Re: [IB-Architect] How about {$IFDEF xxx} {$ENDIF}
Author Alexandre Kozlov
----- Original Message -----
From: "Clément Doss" <cdoss@...>
To: <IB-Architect@yahoogroups.com>
Sent: Thursday, December 13, 2001 1:43 PM
Subject: [IB-Architect] How about {$IFDEF xxx} {$ENDIF}


> Hi all
>
> I was thinking now that IB and FB have shown signs of different paths, it
might be useful to have
> some kind of
>
> {$IFDEF __FIREBIRD}
> SELECT FIRST 10 SKIP 5 * FROM MYTABLE
> {$ELSE}
> SELECT * FROM MYTABLE
> ROWS 6 to 10
> {$ENDIF}
>
> Best regards,
> Clément
>

The most issue is not delivering of conditional compilation possibility
(you can easily create such prepocessor) but difficulties it brings.
In other word you can do maintenance of "one code" for two platforms
without
this evil instrument more clearly for you and for others because you will
try really
understand differencies between these platforms and try to put all critical
code
as small as possible and to put it in one place.

Alexander