Re: eu4.0a2 error

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

Hi

I think this is going to be one of the classic errors that we see when converting from 3.xx to 4.00

Don, what those errors mean, in eu 3.00 speak, is that the variables haven't been defined, or the parser can't define them. Like, you would get an error with

procedure blah() integer x y = x + 2 end procedure

In 3.xx this would produce the error y has bot been defined, but in 4 it produces the unable to resolve error.

The reason 3.xx can resolve the labels, is the way files are included is different.

I suspect that in your case, the main program includes files which also include other files, and these files look for labels earlier in the chain. Sounds hideously complicated, but eu 4 no longer looks in these other include files, unless you specifically tell it to do so.

so at the top of layer.e, you now have to include files explicitly, which 3.xx would have accessed through the file that included layer.e

Sometimes adding 'public include whatever.e' in the root (main) program lists of includes helps.

Does that help?

Chris

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

Search



Quick Links

User menu

Not signed in.

Misc Menu