|
;;; Hello World in Common Lisp
(defun helloworld ()
(print "Hello
World!")
)
|
;;; Hello World in Emacs Lisp.
(defun hello-world()
"Display the string
hello world."
(interactive)
(message "hello
world"))
|
# Hello World in Lua
print "Hello world"
|
{Hello World in Pascal}
program HelloWorld(output);
begin
WriteLn('Hello World!');
end.
|
{ Hello World in Borland Pascal 7 for MS-Windows}
PROGRAM HelloWorld;
USES
WinCRT;
BEGIN
InitWinCRT;
WriteLn('Hello World!');
ReadLn;
DoneWinCRT;
END.
|
# Hello World in Python
print "Hello World"
|
# Hello World for the Unix shells (sh, ksh, csh, bash, ...)
echo 'Hello World!'
|
# Hello world in perl
print "Hello World!\n";