|
Andy Holmer wrote: > > A lot has been said about the system API in recent threads and, in my > mind, it is just a slightly more useful QCMDEXC. ... > ... The system API has a slight advantage in having only one parameter, and in making it possible to do the call and test the return code on the same line, but I think the disadvantage outweighs the advantages. The disadvantage of system() is that when the command fails, system() removes the final exception message from the joblog. You can get the 7-byte exception ID, if you code for it in your program, but you lose the replacement text which may be critical to figuring out what went wrong if your program fails unexpectedly.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.