I wondered if anybody else has this problem.It happens when the program is running (the form is displayed), and I use Undo or Update symbols. Its usually a minor annoyance, except for one program that modifies color and visibility settings. When the program exits normally, the color and visibility settings are restored, but if the program stops abnormally, then they aren't restored.Does anybody know if this is a fixable problem, or can I put something in the code to detect this and exit gracefully?Thanks!- Geoff
Wrap the code throwing the error with the errset function. See the Error Handling section in the Skill User Guide.If an error is thrown then errset.errset will be non-nil
Thanks fxfIts going to take me awhile to check the errset function out. I have never used it before in Skill. I have used error trapping in Visual Basic, and it seems like it would be similar to Skill.Its hard to know where to start because, the program form is displayed but the program is not actively doing anything. So where would I put the errset function?Anyways I need to get my head into it.
If you create a function that calls makes several axl and Skill calls I would place the errset around that function.Placing it around individual axl or Skill APIs would not be a good programming style.Basically, it should be placed around a set of related programming like updating the database.