Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

Re: [ic] [if scratch...]



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

_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: