>Info zum Stichwort HelloWorld | >diskutieren | >Permalink 
Seine Arroganz Papst Müsli I. schrieb am 28.2. 2006 um 11:56:49 Uhr über

HelloWorld

(* This is designed to run Under Oberon V4 *)

MODULE Hello;
IMPORT Oberon, Texts;
VAR W: Texts.Writer;

PROCEDURE World*;
BEGIN
Texts.WriteString(W, »Hello World!«);
Texts.WriteLn(W);
Texts.Append(Oberon.Log, W.buf);
END World;

BEGIN
Texts.OpenWriter(W);
END Hello.

(*
once this module is compiled,
Executing the command Hello.World
will print »Hello World!« to the
system log
*)


   User-Bewertung: /
Findest Du »HelloWorld« gut oder schlecht? Sag dem Blaster warum! Bedenke bei Deiner Antwort: Die Frage dazu sieht keiner, schreibe also ganze Sätze.

Dein Name:
Deine Assoziationen zu »HelloWorld«:
Hier nichts eingeben, sonst wird der Text nicht gespeichert:
Hier das stehen lassen, sonst wird der Text nicht gespeichert:
 Konfiguration | Web-Blaster | Statistik | »HelloWorld« | Hilfe | Startseite 
0.0087 (0.0067, 0.0006) sek. –– 931885472