The Lisp Programming Language

Hello world! Example Program


Click below to go directly to a specific section:
Description | Source Code | Sample Run | Program Notes

Description

This program simply demonstrates the return of a string from a function call, in the Lisp programming language. The program will display the message "Hello world" each time the function HELLO is called.

Source Code

;;; HWorld.lsp

;;; ================================================== ;;;
;;; =========== HELLO WORLD SIMULATION ============== ;;;
;;; ================================================== ;;;


;;; This function simply returns the string Hello World that is in quotes.

(DEFUN HELLO ()
  "HELLO WORLD"
) 

Click
here to download the source code.

Sample Run

Hello world!


Program Notes


[Back] [Home]

Last modified: 05:30 PM on 11/18/1996 by Rachelle Tustanowski