home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!wupost!darwin.sura.net!aplcen.apl.jhu.edu!aplpy.jhuapl.edu!rsl
- From: rsl@aplpy.jhuapl.edu (Russell S. Laderer)
- Subject: Re: Help with TP 6.0 program
- Message-ID: <1992Sep15.122118.4631@aplcen.apl.jhu.edu>
- Summary: More info
- Sender: news@aplcen.apl.jhu.edu (USENET News System)
- Organization: Johns Hopkins University Applied Physics Lab
- References: <2184.2AB2263A@catpe.alt.za> <1992Sep14.191418.8825@aplcen.apl.jhu.edu>
- Date: Tue, 15 Sep 92 12:21:18 GMT
- Lines: 58
-
- In the original article, I wrote:
- >I'm trying to help a friend debug some code written
- >using TP 6.0, (he doesn't have net access), so I thought
- >you all might be of some help.
-
- >1) Are the functions `prvgaside` and `closegraph` provided by
- >Turbo, and if so, what do they do?
-
- >2) What are runtime errors 006 and 203?
-
- >I don't know if this is routine stuff or not,
- >but the programmer who wrote this for my friend's
- >company is long gone, and so are the Turbo manuals.
-
- Here is some more information.
-
- The program reads data from an ascii file which
- represents the force in (lbs/newtons/etc) exerted
- by a piece of machinery over time. This data is
- then displayed on the screen as linegraphs.
-
- When the 3rd menu option is chosen, runtime error 006
- appears. The third menu option is the procedure
- printdata.
-
- procedure printdata;
- var s:string;
- begin
- if num=0 then
- begin
- clrscr;
- writeln('No data');
- writeln;
- writeln('Press <ENTER> to return to menu');
- readln;
- exit;
- end;
-
- display;
-
- prvgaside;
-
- closegraph;
- end;
-
- Notes:
- The procedure display draws the linegraphs on the screen, and
- seems to be working.
-
- I haven't been able to locate the prvgaside procedure yet,
- so I assume it is in one of the .TPU files. Possibly
- 'prscr', since these appear to be related to printing the
- screen.
-
- I appreciate any help you might be able to give me.
-
- Scott Laderer
-
-