[Next] [Previous] [Up] [Top] [Contents] [Index]
The MCL editor, Fred
Executing expressions in a Fred window
There are three ways to execute code from a Fred Window:
- If you wish to execute all the expressions in the window, you can select the Execute All command from the Lisp menu.
- If you wish to execute only a portion of the expressions in the window, you can select the portion and choose the Execute Selection command from the Lisp menu.
- If you wish to execute a single expression, you can place the cursor at the start or end of the expression and choose the Execute Selection command from the Lisp menu, or press the Enter key.
When you execute code from a Fred window, the result of the last expression executed is printed in the Listener.
You can also execute all the code in a file without opening an editor window on the file. To do this, you load the file by choosing the Load command from the File menu.
- Select the string
"Hello, world!".
The entire expression is highlighted.
- Execute the expression by choosing "Execute Selection" or pressing Enter.
The results of an execution always appear in the Listener, where you should see "Hello, world!"
Gettmg Started with MCL - 19 OCT 1996
[Next] [Previous] [Up] [Top] [Contents] [Index]
Generated with Harlequin WebMaker