Lasso Soft Inc. > Home

[lp_protect_break]

Linklp_protect_break
AuthorBil Corry
CategoryError
Version8.x
LicensePublic Domain
Posted03 Dec 2005
Updated03 Dec 2005
More by this author...

Description

Allows you to skip a section of code, just place [protect] around the part to skip over and call this tag.

Sample Usage

[protect]
[loop: 10]
	[if: loop_count == 5]
		[lp_protect_break]
	[/if]
	[loop_count]
[/loop]
	Shouldn't get here.
[/protect]

Should get here.
[error_currenterror]

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.

[

define_tag:'lp_protect_break',
	-description='Allows you to skip a section of code, just place [protect] around the part to skip over.',
	-priority='replace';
	fail: (error_noerror: -errorcode), error_noerror;
/define_tag;

]

Related Tags

Comments

No comments

Please log in to comment

Subscribe to the LassoTalk mail list

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft