A következő címkéjű bejegyzések mutatása: strong. Összes bejegyzés megjelenítése
A következő címkéjű bejegyzések mutatása: strong. Összes bejegyzés megjelenítése

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))

COMAL Hello World!

PRINT "Hello World!"

Corba Hello World!

class Hello def main print 'Hello, World'

Clojure Hello World!

(println "Hello, world!")

Clean Hello World!

module hello Start :: {#Char} Start = "Hello, world!"