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

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

by Brad Lindsay-2 :: Rate this Message:

Reply to Author | View in Thread

On Jun 30, 2009, at 3:37 PM, Bil Corry wrote:

> Brad Lindsay wrote on 6/30/2009 2:21 PM:
>> 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!
>
> I don't use namespaces because of the oddities I tend to encounter.  
> But if you really want to use it, this works:
>
> [
> define_tag('ToDuration', -namespace='LSD_String', -
> required='a_string');
>    return(#a_string);
> /define_tag;
>
> lsd_string_toduration('help');
> ]

That is definitely an oddity.  I'm sure I have another tag with a  
namespace that has an underscore in the name and not the namespace.  
Weird.

Thanks,
-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/


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