Lasso Soft Inc. > Home

[response_localfolder]

Linkresponse_localfolder
AuthorJason Huck
CategoryResponse
Version8.x
Licensehttp://opensource.org/licenses/artistic-license.php
Posted01 May 2006
Updated01 May 2006
More by this author...

Description

Returns the absolute path to the current directory.

Sample Usage

response_localfolder;

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(
	'localfolder',
	-namespace='response_',
	-priority='replace',
	-description='Returns the absolute path to the current directory.'
);
	local('out') = response_localpath;
	local('file') = #out->split('/')->last;
	#out->removetrailing(#file);
	return(#out);
/define_tag;

Related Tags

Comments

03 Oct 2013, Jonathan Guthrie

Lasso 9 version

See http://www.lassosoft.com/tagswap/detail/response_localfolder(9)

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