clarification between load and context

Q&A's, tips, howto's

clarification between load and context

Postby TedWalther » Wed May 13, 2015 5:36 am

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.
TedWalther
 
Posts: 605
Joined: Mon Feb 05, 2007 1:04 am
Location: Abbotsford, BC

Return to newLISP in the real world

Who is online

Users browsing this forum: No registered users and 3 guests

cron