The document explains LISP namespaces, specifically focusing on Document and BlackBoard namespaces. It details methods for setting and retrieving variables within Document namespaces, including syntax for functions like 'setq', 'vl-doc-set', and 'vl-doc-ref'. This information is essential for managing variables in LISP environments effectively.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
8 views2 pages
LISP Syntax & Help
The document explains LISP namespaces, specifically focusing on Document and BlackBoard namespaces. It details methods for setting and retrieving variables within Document namespaces, including syntax for functions like 'setq', 'vl-doc-set', and 'vl-doc-ref'. This information is essential for managing variables in LISP environments effectively.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 2
LISP Namespaces
A namespace is a LISP environment that contains a set of symbols
(Variables and functions).
1. Document Namespaces 2. BlackBoard Namespaces
Setting and Retrieving Variables
1. Document Namespaces
Option-1 Storing and Retrieving variable while a drawing remains open.
Function Description Syntax
Sets the value of a variable setq while a drawing remains (setq 'VarName VarValue) open. Retrieves the value of a !VarName variable while a drawing !VarName remains open.
Option-2
Function Description Syntax
Sets the value of a variable in vl-doc-set (vl-doc-set 'VarName VarValue) a document namespace Retrievs the value of a vl-doc-ref variable from a document (vl-doc-ref 'VarName) namespace VarValue)