#!/bin/sh
echo Hello World!
Hello World Source Code
Hello World programs, source codes of all language!
2011. szept. 24.
Common Lisp Hello World!
Suppose a function foo writes to standard output:
(defun foo () (format t "Hello, world"))
To capture its output in a character string, *standard-output* can be bound to a string stream and called:
(with-output-to-string (*standard-output*) (foo))
(defun foo () (format t "Hello, world"))
To capture its output in a character string, *standard-output* can be bound to a string stream and called:
(with-output-to-string (*standard-output*) (foo))
COMAL Hello World!
PRINT "Hello World!"
Cola Hello World!
string mesg = "Hello world\n";
main() {
print(mesg);
}
Labels:
CLR,
Cola,
Hello World,
Microsoft .NET,
Parrot virtual machine
Corba Hello World!
class Hello
def main
print 'Hello, World'
Labels:
Corba,
dynamic,
Hello World,
inferred,
Microsoft .NET,
Mono,
multi-paradigm,
object-oriented,
static,
strong
CobolScript Hello World!
* "Hello world" program
*
DISPLAY `Content-type: text/html`.
DISPLAY LINEFEED.
DISPLAY ``.
DISPLAY `Hello World `.
DISPLAY `
Labels:
CobolScript,
FreeBSD,
Linux,
Microsoft Windows,
scripting,
SunOS
Clojure Hello World!
(println "Hello, world!")
Labels:
Clojure,
dynamic,
functional,
multi-paradigm,
strong
Feliratkozás:
Bejegyzések (Atom)