4.7 Using Lisp-specific commands

4.7.2 Using the menus

There are three menu commands for evaluating Lisp in the current buffer. In all three cases, any output which occurs as a result of evaluating that code appears in the Listener.

Choosing Buffer > Evaluate evaluates all the code in the current buffer.

Choosing Region > Evaluate evaluates the Lisp code in the current region. Make sure you have marked a region before choosing this command; whether you use the mouse or keyboard commands to do this does not matter. If you have a few Lisp forms that you want to evaluate, but you do not want to evaluate the whole buffer, use this command.

Choosing Definition > Evaluate evaluates the definition in which the cursor currently lies. This is a little like evaluating the marked region, except that only the current definition is evaluated. You will find this command 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.


FreeLisp User's Guide - 5 FEB 1996

Generated with Harlequin WebMaker