Re: Parsing problem using constants

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

............ there are multiple items with that name in scope.

I had the same problem with multiple includes of misc.e

In other languages they use "include once".

Is that not an appropriate solution, and if so, would it not be easy to implement?

Well it's not quite so simple as that. Currently, you can include the EXACT same file multiple times and Euphoria only actually includes it once. But if two files that have the same name, but are in DIFFERENT folders are included, Euphoria treats them as two different files - even if they have identical contents. I'm not sure we would want to change this behaviour.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu