Review needed for the wiki - Pascal to D page

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Thu Dec 4 18:32:10 PST 2014


On Thu, 4 Dec 2014 18:22:30 -0800
"H. S. Teoh via Digitalmars-d" <digitalmars-d at puremagic.com> wrote:

> On Fri, Dec 05, 2014 at 03:39:07AM +0200, ketmar via Digitalmars-d wrote:
> [...]
> > also, it's worth noting that Delphi's IFDEF/ENDIF completely ignores
> > everything inbetwee if condition is false, but D `version` and `static
> > if` requires ignored code to be correct D code nevertheless.
> [...]
> 
> That's not completely true. All that's required is that the code can be
> parsed successfully. It can be semantically nonsense and the compiler
> wouldn't care, for example this will compile, even though it's complete
> garbage:
ah, sure, thanks. it was a bad wording from my side.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141205/e0e4842f/attachment.sig>


More information about the Digitalmars-d mailing list