Leda ![]() |
similar languages: | Modula Oberon Obliq Pascal Phantom PL/0 PL/0E YAFL | |
Hello World | Michael Neumann |
{ Hello World in Leda } include "std.led"; begin print("Hello World"); end; |
Prints "Hello World" onto the
screen. |
Squares | Michael Neumann |
include "std.led"; var i:integer; begin for i:=1 to 10 do begin print("" + i*i + " "); end; end; |
Outputs the squares from 1 to
10. |