Re: New PDF Manual

new topic     » goto parent     » topic index » view thread      » older message » newer message
DanM said...

And a question: what does "defined" (in same section) mean, as in: "When 4.0.1 is released, EU4_0_0 will no longer be defined, but EU4_0_1 will be defined."

Supported? Documented? Something else specific to a process of releasing versions of a program?

Dan

This should be more clearly documented (or at least make defined a hyperlink to the section with the explanation).

But, it is related to the new ifdef system. EU4_0_0 is defined automatically and ifdef will see it, but when 4.0.1 is released EU4_0_0 is no longer defined automatically and ifdef won't see it anymore.

We also have a generic EU4 ifdef that will remain present until we go to 5.0 and have EU5 defined instead.

A similar situation relates to platform specific ifdefs. ifdef WINDOWS then ... elsifdef UNIX then ... elsedef can replace if platform() = WIN32 then elsif platform() = FREEBSD or ... then ... else.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu