Lasso Soft Inc. > Home

[ Error_Reset ]

Method

[Error_Reset] simply sets the current error code to 0 and the current error message to empty. The current error code and error message can be inspected with the [Error_Code] and [Error_Msg] methods.

  • Syntax
Error_Reset
Examples
  • Beginner

To reset the error code each time through a loop:

The following code uses [Error_Reset] to reset the error code each time through a loop. This prevents an error from one repetition from bleeding through into the next repetition.

Code

Loop(10)
  Error_Reset
  ... Code which might set an error ...
/Loop

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft