Namespace clobbering internals

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

I create a db.e file that defines the word close. I then:

include db.e as d

--- do things
f = open(filename, "w")

-- later
close(f)


It called the database's close function, not the internal. So, even if you use a
namespace, your included files cannot define functions by the same name as an
internal and you expect to continue to use an internal function?

--
Jeremy Cowgar
http://jeremy.cowgar.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu