Exit codes
Richard Kreiss
rkreiss at gccconsulting.net
Fri Sep 18 08:09:14 PDT 2015
In looking at the help file, I see that in 5.6 n= system(exp [,flags]) was added which returns the exit code of the system command.
What I need it the exit code from pressing "X" at the "Select Output Destination" menu.
pt="-pq"
sy="rreport transaction -f collection_report -v sel_collect -a -i9 -u -r"<dc<pt
based on this I think I would use:
THEN: s=SYSTEM(sy,"0")
if: s ne "0"
then:GOTO @entsel (Start over)
Richard Kreiss
GCC Consulting
More information about the Filepro-list
mailing list