Sisal ![]() |
Hello World | Michael Neumann |
% % Hello World!!! % define main function main(returns array [Character]) "Hello World" end function |
Prints "Hello World" onto the
screen. |
Squares | Michael Neumann |
define main function main(returns array [Integer]) for i in 1, 10 x := i * i returns array of x end for end function |
Outputs the squares from 1 to
10. |