[xs_isError]

Description

Link: [xs_isError]
Author: Jonathan Guthrie
Category: Error
Version: 8.x
License: Public Domain
Posted: Mar. 08, 2006
Updated: Dec. 21, 2006
More by this author...
xs_isError reports back to a page level variable any error generated in it's immediate parent inline.

Parameters

none


Sample Usage

xs_isError;
						

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
11
define_tag('isError',	
	-namespace='xs_',
	-priority='replace');
	// ----------------------------------------------------
	if((Error_CurrentError(-ErrorCode)));
		$gv_error += (Error_CurrentError) + '<br />';
	else((File_CurrentError(-ErrorCode)));
		$gv_error += (File_CurrentError) + '<br />';
	/if;
	// ----------------------------------------------------
/define_tag;

 

Related Tags



Comments

none

Email:


Password:



Newest

Most Popular