EXIT
Kenneth Brody
kenbrody at spamcop.net
Mon Mar 9 06:13:53 PDT 2015
On 3/7/2015 11:15 AM, Richard Kreiss wrote:
[...]
>> Use the new SYSTEM() function in 5.6 instead, as it returns the exit value.
>
> Ken,
>
> Since I will do a system call to run *clerk in another filePro file, what would be the exit code if the new record entry were cancelled and an exit issued.
>
> sy="dclerk cstrack -s1 -xa -z enter -d -lx -rw market"<"-rx"<patient_code<"-ry"<Master_Code<"-r"<"Y"<"-rz"<cn
>
> s=system(sy)
>
> What value of s would I expect?
>
> If I used exit N, would s be that value?
As I said, SYSTEM() "returns the exit value".
--
Kenneth Brody
More information about the Filepro-list
mailing list