Please see detailed the following code and is there any issue?
Code: Select all
> (set 'Foo1:var1 nil)
nil
> (context? Foo1)
true
> (context Foo2)
ERR: symbol or context expected in function context : Foo2
> (set 'Foo2:var2 nil)
ERR: context expected in function set : Foo2
> (context? Foo2)
nil
> (set 'Foo2:var2 nil)
ERR: context expected in function set : Foo2
> (context? Foo2)
nil
>
Thanks for your reply. I think you are not understand my true ideas.
Before I define context Foo1, Foo1 is nil. (set 'Foo1:var1 nil) will surely define the Foo context,
then (context Foo1) is ok and (context2 Foo2) will return true.
See Foo2, It is also not defined, (context? Foo2) is nil and (context Foo2) will show errors. then
how can I define the Foo2 just after (context Foo2) which make some error?
(set 'Foo2:var2 nil) will always failed. This is my messes! If Foo2 has even not defined and you
evaluate (context Foo2) with some error, you will never define the context Foo2 by
"(set 'Foo2:var2 nil)". So I think it's a bug, perhaps!
I come from china, I love lisp but my english is a little bad, thanks your guys!