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