Phantom |
ähnliche Sprachen: | Modula Oberon Obliq Leda Pascal PL/0 PL/0E YAFL | |
Hello World | Michael Neumann |
(* Hello World! *) module helloworld; import stdio; begin stdio.puts("Hello World\n"); end helloworld. |
Gibt "Hello World" auf dem Bildschirm
aus. |
Squares | Michael Neumann |
module Squares; import stdio, fmt; begin for i:=1 to 10 do stdio.puts(fmt.fint(i*i) @ " "); end; end Squares. |
Gibt die Quadrate von 1 bis 10
aus. |