Lasso Soft Inc. > Home

[Error_Reset]

[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] tags.

  • Syntax
  • Parameters
[Error_Reset]
Examples

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.

[Loop: 10]
  [Error_Reset]
  ... Code which might set an error ...
[/Loop]
Tag Link [Error_Reset] Category Error
Type Process Data Source Any
Support Preferred Version 8.5.2
Output Type None Security None
Implementation LassoScript Sets Lasso 8.5

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