clarification between load and context

Q&A's, tips, howto's
Locked
TedWalther
Posts: 608
Joined: Mon Feb 05, 2007 1:04 am
Location: Abbotsford, BC
Contact:

clarification between load and context

Post 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.
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.

Locked