SYS(31) Returns Error Code from RUN CommandID: Q120593 The information in this article applies to:
SUMMARYIn FoxPro for UNIX, the SYS(31) function returns the error code produced by a RUN command if the RUN command failed and a 0 if the RUN command was successful.
MORE INFORMATIONIn the Command window, type the following:
Since the RUN command failed, SYS(31) returns a "1".
In the Command window, type the following:
Since the RUN command was successful, SYS(31) returns a "0".
NOTE: An exclamation point (!) can be substituted for the keyword "RUN".
REFERENCESFoxPro for UNIX online Help Additional reference words: FoxUnix 2.60 sys return exit code run KBCategory: kbprg KBSubcategory: |
|
Last Reviewed: August 28, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |