User Tools

Site Tools


its_lisp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
its_lisp [2020/04/15 21:07]
smj
its_lisp [2020/04/16 05:30]
lars Fix markup.
Line 4: Line 4:
  
 **A sample MACLISP session on ITS using LEDIT MODE in EMACS** **A sample MACLISP session on ITS using LEDIT MODE in EMACS**
-//LEDIT will work on both [[its_topics|ITS}} and [[TOPS-20]] ;tnx1.0e6 to GLS//+//LEDIT will work on both [[its_topics|ITS]] and [[TOPS-20]] ;tnx1.0e6 to GLS//
              
       KA ITS 1648 DDT 1547 TTY 52               ;System herald       KA ITS 1648 DDT 1547 TTY 52               ;System herald
Line 83: Line 83:
                                    ; 4. X = D                                    ; 4. X = D
                                    ; 5. X = E                                     ; 5. X = E 
-     NIL                             ; MACLISP reports NIL because the DO called PRINT X which returned NIL+     NIL                             ; DO called PRINT X which returned NIL because there was nothing 
 +                                     ; left to PRINT in the list of "a b c d e" 
 + 
 +**MATH examples** 
 + 
 +     @maclisp
            
 +     LISP 2122
 +     Alloc? n
            
 +      
 +          
 +     (+ 2 2) 
 +     4 
 +     (- 2 2) 
 +     0 
 +     (* 2 2) 
 +     4
its_lisp.txt · Last modified: 2022/05/23 03:10 by ldbeth