home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / pascal / 4941 < prev    next >
Encoding:
Text File  |  1992-08-20  |  1.5 KB  |  42 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!stanford.edu!agate!usenet.ins.cwru.edu!cleveland.Freenet.Edu!bx304
  3. From: bx304@cleveland.Freenet.Edu (Jeff Epler)
  4. Subject: Re: Displaying many discrete screens
  5. Message-ID: <1992Aug21.011348.20274@usenet.ins.cwru.edu>
  6. Sender: news@usenet.ins.cwru.edu
  7. Nntp-Posting-Host: slc5.ins.cwru.edu
  8. Reply-To: bx304@cleveland.Freenet.Edu (Jeff Epler)
  9. Organization: Case Western Reserve University, Cleveland, OH (USA)
  10. References: <2A91A4FC.10661@orion.oac.uci.edu>  
  11. Date: Fri, 21 Aug 92 01:13:48 GMT
  12. Lines:       29
  13.  
  14.  
  15. In a previous article, handbook@orion.oac.uci.edu (Handbook) says:
  16.  
  17. >Hi,
  18. >
  19. >Can anyone suggest ways to display screenfuls of information to users, 
  20. >without using a million and one writeln statements? 
  21. >
  22. I would recommend something like this:
  23.  
  24. Determine the maximum space needed to store a full screen of
  25. information. (80x25 should be 2025 or so -- In case newlines have to be
  26. included).  Then create separate files for each screen.  Another,
  27. separate program could be created to read in each of these files, while
  28. padding it to the proper length and then write it to a single output.
  29. Then, to reference a page, your program would open the file, seek to
  30. (pagenum)*(pagesize), and read/display (pagesize) CHARs.
  31.  
  32.  
  33. >Anything will be of help,
  34.  
  35.  
  36. Even this ill-developed idea with no code? <snort>
  37. >thanks in advance,
  38. -- 
  39. |Jeff Epler               Additions Welcome           c(-8 ;-) >{8-) |
  40. | :) (=( =-] (-= Celebrating the variety of faces =-> :^) {-= |-) (: |
  41. | >X^P 8-[                                          Lincoln, Nebraska|
  42.