Many of the ASPECT commands will report success or failure after they have completed execution. You can determine if a command returns success or failure by viewing the discussion of that command in the ASPECT help file and looking for a SF icon in the upper left corner. Checking for success or failure is always a good idea. There are two different methods to do so. The first uses a structure as such: fopen 0 Fname READ TEXT The second way to check for success or failure looks like this: if fopen 0 Fname READ TEXT When I am debugging a script, I often use the usermsg command to output either success or failure in a message box so I can immediately determine what execution path my script took. |
|
This document maintained by
John Schultz. Material
Copyright © 2002-2017 |