Category : Files from Magazines
Archive   : BYTE0288.ZIP
Filename : CALC.PAS
{$R-} {Range checking off}
{$B-} {Boolean short circuiting off}
{$S+} {Stack checking on}
{$I+} {I/O checking on}
{$N-} {No numeric coprocessor}
{$M 65500,16384,655360} {Turbo 3 default stack and heap}
program CALC;
var A,B,C: real;
N, I: integer;
begin
N:= 5000;
A:= 2.71828;
B:= 3.14159;
C:= 1;
For I:= 1 to N do
begin
C:= C * A;
C:= C * B;
C:= C/A;
C:= C/B
end;
write(chr(7));
writeln('Error = ', C - 1)
end.
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/