[lp_error_clearError]

Description

Link: [lp_error_clearError]
Author: Bil Corry
Category: Error
Version: 8.5.x
License: Public Domain
Posted: Dec. 03, 2005
Updated: Oct. 30, 2006
More by this author...
Resets error_currenterror to noerror.

Parameters

none


Sample Usage

error_seterrorcode: -123;
 error_seterrormessage: 'A bad error';
 
 error_currenterror;
 ' ';
 error_currenterror: -errorcode;
 '<br>';
 
 lp_error_clearError;
 error_currenterror;
 ' ';
 error_currenterror: -errorcode;
						

Source Code

Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.
1
2
3
4
5
6
7
8
9
10
[

define_tag:'lp_error_clearError',
	-description='Resets error_currenterror to noerror.',
	-priority='replace';
	 error_code = (error_noerror: -errorcode);
	 error_msg = error_noerror;
/define_tag;

]

 

Comments

none

Email:


Password:



Newest

Most Popular