Link | tags_custom |
Author | Jason Huck |
Category | Tags |
Version | 8.x |
License | http://opensource.org/licenses/artistic-license.php |
Posted | 09 Mar 2006 |
Updated | 28 May 2006 |
More by this author... |
This tag compares the full list of tags from [tags_list] to the list of tags from [tags_native] and returns the difference as an array. Requires [tags_native].
iterate(tags_custom, local('i')); #i + '
\n'; /iterate;
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( 'custom', -namespace='tags_', -priority='replace', -description='Returns a set of undocumented and custom tags currently loaded.' ); local( 'tags_complete' = array, 'tags_standard' = tags_native, 'tags_custom' = set ); iterate(tags_list, local('i')); local('t') = #i; #t->removeleading('_global_')&lowercase; !#t->beginswith('_') ? #tags_complete->insert(#t); /iterate; #tags_complete->sort; iterate(#tags_complete, local('i')); !#tags_standard->find(#i)->size ? #tags_custom->insert(#i); /iterate; return(#tags_custom); /define_tag;
No comments
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft