« Return to Thread: Define a tag and then can't call it

Re: Define a tag and then can't call it

by Steve Piercy :: Rate this Message:

Reply to Author | View in Thread

Add a trailing _ to the -namespace parameter.

define_tag('String_ToDuration', -namespace='LSD_', -required='a_string');

--steve


On Tuesday, June 30, 2009, blindsay@... (Brad Lindsay) pronounced:

>Ok, can someone explain to me why this is failing?  I get an error  
>saying no tag, type, or constant defined with the name  
>lsd_string_toduration!
>
>============================================================
>[
>define_tag('String_ToDuration', -namespace='LSD', -required='a_string');
>     return #a_string;
>/define_tag;
>
>lsd_string_toduration('help');
>]
>============================================================
>
>-Brad
>
>--
>This list is a free service of LassoSoft: http://www.LassoSoft.com/
>Search the list archives: http://www.ListSearch.com/Lasso/Browse/
>Manage your subscription: http://www.ListSearch.com/Lasso/
>
>

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Steve Piercy               Web Site Builder               Soquel, CA
<web@...>                  <http://www.StevePiercy.com/>

--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/


 « Return to Thread: Define a tag and then can't call it