I want to write a macro that evaluates a complex set of conditions like the
following macro. I don't know if it is possible to have something like
#return true thru which I can return whether the condition evaluted to true
or false.

#macro (check $a $b $c)
      #if ($a.var1 && $b.var2 == "x" && $c.flag == "true")
            #return true
      #end
#end

So that this macro can be used as,

#if (#check ($x $y $z))
      do something
#end

Is it possible to do so or maybe to do it thru some other way.

Thanx
gaurav




-----------------------------------------
This message and its attachments may contain  privileged and confidential
information.  If you are not the intended recipient(s), you are prohibited
from printing, forwarding, saving or copying this email.  If you have
received this e-mail in error, please immediately notify the sender and
delete this e-mail and its attachments from your computer.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to