[ic] should be simple form and [if] condition

Mike Heins mikeh@minivend.com
Thu, 25 Jan 2001 13:17:48 -0500

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]"]

But it is easier sometimes to use embedded Perl:

		return '' if $Values->{model} eq $Scratch->{saved_model};
		return q{
			Whatever you want to return if they are
			not equal.

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