Search Posts:

Commodore SuperPET (CBM SP9000)

SHARE

Return to Threads

  Commodore SuperPET (CBM SP9000) by Bill Degnan - 07/08/2008 00:10
I am writing a Pascal program on a CBM SuperPet running Waterloo Pascal. This version of pascal is similar to the pUCSD version.

Pictures

Reply
  Output to a printer using a SuperPET by Bill Degnan - 11/10/2008 08:56
A modified version of the program found on page 7 of the Waterloo Pascal manual that will send the output to the printer.

program example5(output);
var
x,xsquared, xcubed;integer;
p:text;

begin
rewrite(p,'printer');
writeln('A table of squares and cubes:');
x:=12;
while(x<=21)do
begin
xsquared:=x*x;
xcubed:=x*x*x;
writeln(p,'A table of squares and cubes:');
writeln(p,x,xsquared,xcubed);
x:x+2;
end;
end.

[if this does not work for you, contact me for assistance]

Reply

Resources:


Buy a Commodore Computer Poster

Popular Topics and FAQs


Past Issues:


BASIS 108

This image was selected at random from the archive. Click image for more photos and files from this set.