Lasso Soft Inc. > Home

[Abort]

[Abort] aborts processing the current page. The contents of the page to the point where [Abort] was called will be returned to the current client.

  • Syntax
  • Parameters
[Abort]
Examples

To abort a page if an error occurs:

Use the [Abort] tag to immediately stop execution of a page if an error occurs. The following example checks [Error_CurrentError] to see if a 'Catastrophic Error' occured and aborts the page if it did.

[If: (Error_CurrentError) == 'Catastrophic Error'] 
  [Abort]
[/If]
Tag Link [Abort] Category Conditional
Type Process Data Source Any
Support Preferred Version 5.0
Output Type None Security None
Implementation Internal Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0

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