[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] [if scratch...]
Hi,
I am trying to compare scratch values in an if/elsif statement, and
tried the following code. I cannot get this to work. What I am trying do
to is get the results of a loop search to organize into two columns. The
first section is a loop to count the number of items in a list. if I
replace the '[scratch count1]' variable with a number, this works fine,
it just doesnt seem to recognise the [scratch] tag as part of the IF tag
evaluation. Can anybody help me out.
[loop.....]
[seti count1][calc][scratch count1] + 1[/calc][/seti]
[/loop]
[seti count1][calc][scratch count1] / 2[/calc][/seti]
[seti count][/seti]
<table><tr><td>
[loop ....]
[seti count][calc][scratch count] + 1[/calc][/seti]
[if scratch count < [scratch count1]] [loop-code]<br>
[elsif scratch count == [scratch count1]] [loop-code]<br></td><td>
[/elsif]
[/else] [loop-code]<br>[/else][/if]
[/loop]
</td></tr></table>
Thanks
Mat
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users