clarification between load and context

Started by TedWalther, May 12, 2015, 10:36:24 PM

Previous topic - Next topic

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.
Cavemen in bearskins invaded the ivory towers of Artificial Intelligence.  Nine months later, they left with a baby named newLISP.  The women of the ivory towers wept and wailed.  \"Abomination!\" they cried.