>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: /
»HelloWorld« ist ein auf der ganzen Welt heiß diskutiertes Thema. Deine Meinung dazu schreibe bitte in das Eingabefeld.

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.0109 (0.0088, 0.0006) sek. –– 822253982