Page 1 of 1

clarification between load and context

Posted: Wed May 13, 2015 5:36 am
by TedWalther
Hi Lutz. Trying to reconcile the documentation here can you tell which is the right one? At the moment it appears that the Load documentation is correct. Also, am having severe bugs with global symbols (even whole contexts) vanishing when one context calls another.

Load:

By default, files which do not contain context switches will be loaded into the MAIN context.

Context:

In the first syntax, context is used to switch to a different context namespace. Subsequent loads of newLISP source or functions like eval-string and sym will put newly created symbols and function definitions in the new context.