[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] should be simple form and [if] condition
Quoting Doug Alcorn (doug@lathi.net):
> [if value model ne [scratch saved_model]]
> [data ... value="[value model]"]
> [/if]
>
This one is documented for sure.
[if type=value term=model op=ne compare="[scratch saved_model]"]
....
[/if]
But it is easier sometimes to use embedded Perl:
[calc]
return '' if $Values->{model} eq $Scratch->{saved_model};
return q{
Whatever you want to return if they are
not equal.
};
[/calc]
--
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Any man who is under 30, and is not liberal, has not heart; and any man
who is over 30, and is not a conservative, has not brains.
-- Winston Churchill
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users