When you are editing Lisp code, you may want to evaluate part or all of the buffer in order to test the code. The easiest way to do this is using menu commands, although there are keyboard commands which allow you to evaluate Lisp in the Editor as well.
There are three menu commands which allow you to evaluate Lisp in the current buffer.
Choose Works > Buffers > Evaluate to evaluate all the code in the current buffer. If you are in the buffers view, then this command evaluates the code in all the selected buffers.
Choose Works > Expression > Evaluate Region to evaluate the Lisp code in the current region. You must make sure you have marked a region before choosing this command; see Marking the region. Whether you use the mouse or keyboard commands to mark a region does not matter. If you have a few Lisp forms that you want to evaluate, but do not want to evaluate the whole buffer, you should use this command.
Choose Works > Definitions > Evaluate or click in the toolbar to evaluate the current definition. In the text view this is a little like evaluating the marked region, except that only the current definition is evaluated, whereas working with a marked region lets you evaluate several. This command is useful if you have a single function in the current buffer which you want to test without taking the time to evaluate the whole buffer or mark a region.
In the various definitions views, this command evaluates the code for all the selected definitions.
To load the file associated with the current buffer, choose File > Load . To load multiple files associated with buffers, select them in the buffers view and choose File > Load . If there is not a current buffer, the menu command File > Load... is available, which prompts for a file to load.