Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.pc » dBASE II v. 2.4 'feature'
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
dBASE II v. 2.4 'feature' [message #76395] Wed, 29 May 2013 23:55
jp is currently offline  jp
Messages: 53
Registered: February 2013
Karma: 0
Member
Message-ID: <12610@lanl-a.UUCP>
Date: Sun, 26-Aug-84 19:57:35 EDT
Article-I.D.: lanl-a.12610
Posted: Sun Aug 26 19:57:35 1984
Date-Received: Thu, 30-Aug-84 19:42:48 EDT
Organization: Los Alamos National Laboratory
Lines: 22

I believe that I have discovered a feature of dBASE II v. 2.4.
The report command has a new option 'WHILE' ' that terminates the
report as soon as the while condition is not satisfied.  The feature is
that 'WHILE' does not work in combination with 'FOR '.  I thought
that I would be clever and fix up a way to terminate the report prematurely
by using the patch (I forgot where it comes from) that stores the most recent
keyboard character in a location (337 decimal) that does not get zeroed
by dBASE II.   Then I could set up the report something like:

REPORT FORM TEST FOR LASTNAME='D' WHILE PEEK(337)<>3 TO PRINT

Then, if I was unhappy with the report  I could quit with a CTL-C instead
of waiting for the whole thing to finish or hitting the reset button (not a
good practice if you have recently editted a file.)

Both the 'FOR' and the 'WHILE' options work OK by themselves, but not together
in either order.  
Maybe I ask too much of dBASE II.  Does anyone have a good idea about how 
to interrupt a report output without hitting reset???

Jim Potter  jp@LANL
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: PC/IX - (nf)
Next Topic: Lattice C Library vs. DOS 2.0 Query
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Apr 16 03:19:21 EDT 2024

Total time taken to generate the page: 0.04939 seconds