Re: {$ELSEIF} not working in Delphi 2006 ?
- From: Nicholas Sherlock <N.sherlock@xxxxxxxxx>
- Date: Thu, 19 Oct 2006 07:39:54 +1300
Skybuck Flying wrote:
{$ELSEIF B}
'B' is not a conditional expression. You probably mean:
{$IFDEF A}
writeln('A');
{$ELSEIF DEFINED(B)}
writeln('B');
{$ELSEIF DEFINED(C)}
writeln('C');
{$ELSE}
writeln('?');
{$IFEND}
Prints 'C'.
Cheers,
Nicholas Sherlock
--
http://www.sherlocksoftware.org
.
- Follow-Ups:
- Re: {$ELSEIF} not working in Delphi 2006 ?
- From: Skybuck Flying
- Re: {$ELSEIF} not working in Delphi 2006 ?
- References:
- {$ELSEIF} not working in Delphi 2006 ?
- From: Skybuck Flying
- {$ELSEIF} not working in Delphi 2006 ?
- Prev by Date: Re: Where is stringbuilder?
- Next by Date: Re: NT Service and Sockets
- Previous by thread: Re: {$ELSEIF} not working in Delphi 2006 ?
- Next by thread: Re: {$ELSEIF} not working in Delphi 2006 ?
- Index(es):