Data comparision using 'if' for tecplot macros
Hi,
I've written a macro for comparing my output data to a constant value. My output file is a 3dimensional block type data. In total there are 120 zones and 19 variables. I want to compare each and every point from all the zones with a constant value. I'm trying to compare the variables value like this : $!LOOP var   $!LOOP zone   $!IF Vvar[zone](i,j,k) == 1 $!ALTERDATA   $!ENDIF $!ENDLOOP $!ENDLOOP var  variable number ; zone  zone number; i,j,k  indexes of an arbitrary point; but it's saying that's not the correct format etc. Could someone help me with this? Thanks, Othniel 
Quote:

Hi,
Thanks for the reply. Actually I can understand what you are saying. If we use 'value blanking' we can eliminate data which we don't need, but in this case I want to further modify the data after comparison with the constant value. Like, I want to count the number of data points whose value is equal to 1. I would like to know how to correctly use the IF statement there. Thanks, Othniel 
Quote:

All times are GMT 4. The time now is 03:14. 