CLAIRE    up
 
 


 Hello World   Michael Neumann
;; Hello World in CLAIRE

[ main() -> printf("Hello World\n") ]
Prints "Hello World" onto the screen.


 Squares   Michael Neumann
[

main() ->
   for i in (1 .. 10) printf("~S ",i * i)

]
Outputs the squares from 1 to 10.