home *** CD-ROM | disk | FTP | other *** search
- program Testcurve (Input, Output);
-
- {$I printpak.pas }
-
- var ch: char;
-
-
- procedure Plotcurve;
-
- var I, width: integer;
- scaler: real;
-
- begin { Plotcurve }
-
- width := across - (across mod 50);
- scaler := width / 50;
- for I := 0 to width do
- Pset (I, trunc(639-(I/scaler-25)*(I/scaler-25)), 1)
-
- end; { Plotcurve }
-
-
- begin { Testcurve }
-
- Init_mem;
- PixelMasks;
- HiRes; HiResColor(7);
- Plotcurve;
- write ('Continue (y/n)? ');
- readln (ch);
- if (ch = 'y') then
- Printout;
- TextMode (BW80)
-
- end. { Testcurve }