>> >>SCATTER FIELDS a,b,c,d,e,f,g,h,i,j,k,l,m NAME oFromExcel >> >>nGapMultiple = ALINES(ayGapMultiple, oFromExcel.f, 1,',') >>IF nGapMultiple = 0 >> DO FlipFields( oFromExcel, 'mult', '') && pass an empty string for the last parameter >>ELSE >> FOR iCount= 1 TO nGapMultiple >> ayGapMultipleValue = ayGapMultiple[iCount] >> DO FlipFields( oFromExcel, 'mult', ayGapMultipleValue) && pass the array value for the last parameter >> ENDFOR >>ENDIF >> >> >>PROCEDURE FlipFields() >>LPARAMETERS toFromExcel, tcCaller, tcValue >> >> >>>
> DO FlipFields WITH oFromExcel, 'mult', '' && pass an empty string for the last parameter >>
> =FlipFields(oFromExcel, 'mult', '') && pass an empty string for the last parameter >