[ic] [if scratch...]

Mark Johnson markj@redhat.com
Thu, 01 Mar 2001 13:25:42 -0500


Any sort of complexity in evaluating a conditional should be done
explicitly:

[if type=explicit
    condition="[calc]$Scratch->{count} < $Scratch->{count1}
               [/calc]"]Do something
[elsif type=explicit
       condition="[calc]$Scratch->{count} == $Scratch->{count1}
                [/calc]"]Do something else
[/elsif]
[else]Do default
[/else]
[/if]

"Mat Jones - booksellersolutions.com" wrote:
> 
> I tried both methods you suggested, but it still didnt read the [scratch
> count1] variable.
> With the loop-alternate it just printed [loop-alternate [scratch count1]] to
> the screen.
> Any other suggestions?
> 
> Thanks
> 
> Mat

-- 
Mark Johnson
Senior Developer - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912