Created
December 9, 2017 05:57
-
-
Save judasRV/72aff5ee90ed86ad62b21a664ad8c254 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; stampa sullo schermo | |
(defvar *nome* (read)) | |
(defun videre-tu(*nome*) | |
(format t "Hello ~a! " *nome*) | |
) | |
(setq *print-case* :capitalize) | |
(videre-tu *nome*) | |
;; variabili e aritmetica | |
(print (+ 5 4 )) ; = 9 | |
(print (+ (* 6 6) 4 )) ; = 40 | |
(defvar *num* 0) ; inizzializa a 0 | |
(setf *num* 12) ; cambia a 12 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment