Looping and Variables

Hi,

I know this can be done but I just can't get it to work.  I have a protocol that generates a table of data.  I now want to run a simple filter for every property

IF (property_x <= 5) THEN property_x := 0;

end IF;

How can I run this without renaming the properties (which are not sequnctial)?

Thanks