DISPLAY in auto

Brian K. White brian at aljex.com
Wed Jul 21 10:12:53 PDT 2004


Jay R. Ashworth wrote:
> On Tue, Jul 20, 2004 at 12:02:01PM -0400, Jay R. Ashworth wrote:
>> In some automatic processing, I'm doing this:
>>
>>> 2 ne "":lookup hdr=passhdr k=2 i=1 -nx:
>>> hdr:display 8; sleep "5"; exit "1":
>>
>> Repeated for fields 3 through 8.
>>
>> The lookup part works correctly, but after switching to screen 8
>> (also correctly), it never exits.  I'm testing $? in the calling
>> filepro menu script to decide to skip some posting code, and it's
>> never "1", even if I eXit by hand.
>>
>> Am I doing something wrong here?  The manuals seem to suggest that
>> that code fragment ought to do what I want.
>
> And the one time this month *I* actually need to know something, no
> one's talking.  Again, bye.
> -- j

Exit just exits the table, and since this was automatic, it doesn't mean
much other than that no more automatic processing will be done. You still
proceed on to input/output processing.

Perhaps you want escape?

Or perhaps you want to set a variable, keep the exit so that you immediately
jump to input/output, and then in input/output processing look for the
variable and exit_with_value from there. Depending on your clerk/report
command line or the choices you made at the iua menu, you might really exit
or just return to entsel. I think you can do your test/exit from entsel to
catch that.

Excuse me for being away from a computer yesterday and only seeing this
within 24 hours instead of within the hour of you posting it. Sheesh.

Brian K. White  --  brian at aljex.com  --  http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx  Linux SCO  Prosper/FACTS AutoCAD  #callahans Satriani




More information about the Filepro-list mailing list