Document Execution Contexts

A separate execution context is established for each document opened in AutoCAD, to allow the command processors and Visual LISP environments for each document to execute independently of each other. Each execution context maintains its own stack. All execution contexts work on common heap and static data. Execution contexts can only be switched when the system polls for more interactive input.