XPL0    up http://www.idcomm.com/personal/lorenblaney/
 
  Description: XPL0 (zero) is similar to Pascal. It was created in the mid 70's by P.J.R. Boyle and the 6502 Group. It is free under the terms of the GNU General Public License.


 Hello World   Loren Blaney
code Text=12;
Text(0, "Hello World");
Prints "Hello World" onto the screen.


 Squares   Loren Blaney
code Crlf=9, Intout=11;
int I;

for I:= 1, 10 do
    begin
    Intout(0, I*I);
    Crlf(0);
    end;

Outputs the squares from 1 to 10.