[ic] Re: Is "if-mm" the same as "if mm" ?

interchange-users@icdevgroup.org interchange-users@icdevgroup.org
Mon Aug 26 15:26:04 2002


Interchange User writes: 

> I need to use these statements inside a [calc] : 
> 
> [if-mm advanced [sm-param submenu_depends_on]]
> blah
> [/if-mm] 
> 
> and realized they don't work properly inside a [calc].  
> Outside [calc], they work perfectly. 
> 
> If I used the following instead: 
> 
> my $submenu_depend = q{[sm-param submenu_depends_on]};
> if ($Tag->if_mm('advanced','$submenu_depend')) {
> blah
> }

Drop the quotes around the variable. 

> 
> It's also not working. 
> 
> Any pointers? 
> 
> Is "if-mm" the same as "if_mm", in their definition and usage?

Yes. 

Bye
    Racke 

 

-- 
Prolific Interchange Consulting (Excellent German Quality !).
Take a look at Materialboerse (http://www.materialboerse.de/), WITT
(http://www.witt-weiden.de/), Boxmover (http://shop.boxmover.ch/) or
Passionshop (http://www.passionshop.com/racke). Need a shop ? Contact us.