Exit Filepro Without Saving

Jay Ashworth jra at baylink.com
Fri Sep 30 12:00:18 PDT 2011


----- Original Message -----
> From: "Mike Schwartz" <mschw at athenet.net>

> > Are you sure there is no write command before the exit somewhere? I
> > believe that an exit should cause you to exit without saving.
> >
> > Jeff Harrison
> 
> I'm quite sure the record gets written to disk before you exit. I've
> used "exit" to insure only one record gets created and written in a file at
> a time, and it's always worked that way. I'll check the STN bible or
> Laura's notes when I get back to my office. I've used the "exit code" after
> exiting to signal the calling program whether or not the new record creation
> worked, but I don't recall that syntax or which version of filePro added the
> exit status. I think you do 'exit "1"' to return an exit code.

I'm pretty sure the thing that's being searched for here is something
akin to

pushkey break

though I'm not sure whether that does the confirmation or not, and it
almost certainly passes control out of the code, so you'd have to do it
last.

Ken?

Cheers,
-- jra
-- 
Jay R. Ashworth                  Baylink                       jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com         2000 Land Rover DII
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 1274


More information about the Filepro-list mailing list