Lasso Soft Inc. > Home

[Error_OutOfMemory]

[Error_OutOfMemory] returns the error code or error message associated with Lasso running out of memory to complete processing the current format file or performing the current database action.

The value of this tag can be compared against an error generated by Lasso or can be used to report an error.

  • Syntax
  • Parameters
[Error_OutOfMemory] [Error_OutOfMemory: -ErrorCode]

[If: (Error_OutOfMemory) == (Error_CurrentError)] ... [/If]

[Error_SetErrorMessage: (Error_OutOfMemory)]
[Error_SetErrorCode: (Error_OutOfMemory: -ErrorCode)]
Optional Parameters
-ErrorCode If specified the error code is returned. Otherwise the error message is returned.
Examples

To check whether the current error was an out of memory error:

Compare the [Error_CurrentError] tag with the [Error_OutOfMemory] tag. If they match then an out of memory error has occured.

[If: (Error_OutOfMemory) == (Error_CurrentError)]
  <br>An out of memory error has occurred.
[/If]
Result:
<br>An out of memory error has occurred.
Tag Link [Error_OutOfMemory] Category Error
Type Substitution Data Source Any
Support Preferred Version 3.0
Output Type String or Integer Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x

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