"for each row" script error message

"for each row" script error message

I'm having an issue with something that I thought was simple...
the following code won't compile. It is the only code I've put in an "on edit on input" workflow for a form which contains a subform. 

I am sure it is something obvious, but I can't see what is wrong with the syntax. FYI - the subform name is correct. The error message I get is 

" Error at line 3  'row' is system keyword and cannot be used". 

3       for each row in Remaining_Activities_Subform_in_Mainform
4       {
5       row.Free_Float_Days = 0;
6       }