home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / pascal / 5403 < prev    next >
Encoding:
Text File  |  1992-09-15  |  1.9 KB  |  71 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!wupost!darwin.sura.net!aplcen.apl.jhu.edu!aplpy.jhuapl.edu!rsl
  3. From: rsl@aplpy.jhuapl.edu (Russell S. Laderer)
  4. Subject: Re: Help with TP 6.0 program
  5. Message-ID: <1992Sep15.122118.4631@aplcen.apl.jhu.edu>
  6. Summary: More info
  7. Sender: news@aplcen.apl.jhu.edu (USENET News System)
  8. Organization: Johns Hopkins University Applied Physics Lab
  9. References: <2184.2AB2263A@catpe.alt.za> <1992Sep14.191418.8825@aplcen.apl.jhu.edu>
  10. Date: Tue, 15 Sep 92 12:21:18 GMT
  11. Lines: 58
  12.  
  13. In the original article, I wrote:
  14. >I'm trying to help a friend debug some code written
  15. >using TP 6.0, (he doesn't have net access), so I thought
  16. >you all might be of some help.
  17.  
  18. >1) Are the functions `prvgaside` and `closegraph` provided by
  19. >Turbo, and if so, what do they do?
  20.  
  21. >2) What are runtime errors 006 and 203?
  22.  
  23. >I don't know if this is routine stuff or not,
  24. >but the programmer who wrote this for my friend's
  25. >company is long gone, and so are the Turbo manuals.
  26.  
  27. Here is some more information.
  28.  
  29. The program reads data from an ascii file which
  30. represents the force in (lbs/newtons/etc) exerted
  31. by a piece of machinery over time.  This data is
  32. then displayed on the screen as linegraphs.
  33.  
  34. When the 3rd menu option is chosen, runtime error 006
  35. appears.  The third menu option is the procedure
  36. printdata.
  37.  
  38. procedure printdata;
  39. var s:string;
  40. begin
  41.    if num=0 then
  42.       begin
  43.      clrscr;
  44.      writeln('No data');
  45.      writeln;
  46.      writeln('Press <ENTER> to return to menu');
  47.      readln;
  48.      exit;
  49.       end;
  50.  
  51.    display;
  52.  
  53.    prvgaside;
  54.  
  55.    closegraph;
  56. end;
  57.  
  58. Notes: 
  59. The procedure display draws the linegraphs on the screen, and
  60. seems to be working.
  61.  
  62. I haven't been able to locate the prvgaside procedure yet,
  63. so I assume it is in one of the .TPU files. Possibly
  64. 'prscr', since these appear to be related to printing the
  65. screen.
  66.  
  67. I appreciate any help you might be able to give me.
  68.  
  69. Scott Laderer
  70.  
  71.