http://qs321.pair.com?node_id=287024


in reply to 'Using' modules

I suspect that you have the same function names in different modules. Also, if you're useing or requireing, don't do. In fact, don't ever do.

I have used do in production code to source in files exactly once in my career, and the file that was done had one (large) configuration variable in it. (That hack was removed in a later version.) do skirts too many safeguards, such as the built-in #ifndef mechanism that use and require provide.

------
We are the carpenters and bricklayers of the Information Age.

The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.