21 lines
42 KiB
Plaintext
21 lines
42 KiB
Plaintext
1
|
||
|
||
Medley for the Novice, Release 2.0
|
||
1
|
||
|
||
Medley for the Novice, Release 2.0
|
||
2. TYPING SHORTCUTS
|
||
1
|
||
|
||
2. TYPING SHORTCUTS
|
||
1
|
||
|
||
|
||
"2"2. TYPING SHORTCUTS
|
||
6
|
||
|
||
Once you have logged in to Medley, you are in Lisp. The functions you type into the Executive Window will now execute, that is, perform the designated task. Lisp is case-sensitive(CASE% SENSITIVITY NIL Case% sensitivity NIL NIL 1); it often matters whether text is typed in upper- or lowercase letters. Use the Shift-Lock key on your keyboard to ensure that everything typed is in capital letters.
|
||
You must type all Lisp functions in parentheses. The Lisp interpreter will read from the left parenthesis to the closing right parenthesis to determine both the function you want to execute and the arguments to that function. Executing this function is called "evaluation." When the function is evaluated, it returns a value, which is then printed in the Executive Window. This entire process is called the read-eval-print loop(READ-EVAL-PRINT% LOOP NIL Read-eval-print% loop NIL NIL 1), and is how most Lisp interpreters, including the one for Lisp, run.
|
||
The prompt in is a number followed by a left-pointing arrow (see Figure 2.3). This number is the function's position on the History Listÿÿ |