Namespaces. Wierd, man ...

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

Dear List

Is the following behaviour what is expected of namespaces?

--[ test.ex
include test.e as t
include test.e
t:test = "test"
puts( 1, test )
--]

--[ test.e
global sequence test
test = "nothing"
--]

Running the program outputs "test", which means that the t namespace and the
default namespace overlap making test.e's data accessible to both
invocations. 

Wierd...

Bruce.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu