Category : Pascal Source Code
Archive   : CALCTP.ZIP
Filename : META3.PAS

 
Output of file : META3.PAS contained in archive : CALCTP.ZIP
Unit Meta;
Interface

Uses Fastwr;

{FastWrite is a Public Domain text display Package By Brian Foley
available on Compuserve. GO BOR-100, the file is in LIB 2. You may
modify the routines to use any other procedure you want. FASTWR.TPU
has proven itself to be bug free and FAST! }


Var
MetaPos, LastLine : Integer;

{LastLines value MUST be assigned here in the Meta file. It defines the lower
border of the window around the metaphor. Therefore the maximum should be 25
and the minimum should be Row 7 for a minimal window around the inner frame.

MetaPos is a global variable used by CALC.TPU to reposition the window when
moved on screen. }

Procedure DrawCalculator;

Implementation


Procedure DrawCalculator;
Begin

{Usage: procedure FastWrite(St : string; Row, Col, Attr : Byte);
The Row value of 1 is reserved for the the CALC.TPU generated window.
The width is also fixed in this release of CALC.TPU, but you may change
the value of LastLine to modify the window size, from the bottom up.
The calculator always remains anchored to the top of the screen. }

FastWrite('ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»',3,MetaPos,7);
FastWrite('º º',4,MetaPos,7);
FastWrite('ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ',5,MetaPos,7);

{Unless you want only the result in its own small window, use this
"inner window" to frame the numeric data, which allways appears on Row 4.}

FastWrite(' Esc Quits, F10 to Paste',6,MetaPos,15);
end;

Begin
(* Meta*)
LastLine := 7;

{ Lastline Must be set to define the position of the bottom of the window.
Note that it is one more that the last row in the FastWrite calls above. }

end.




  3 Responses to “Category : Pascal Source Code
Archive   : CALCTP.ZIP
Filename : META3.PAS

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. 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/