>Hi I run these lines of code and the result to the ?len is 90, instead of 179..
>Any Ideas?
>
>Thanks,
>Gadi
>
>> endrec ='9'
>> for i=1 to 178
>> endrec =endrec +"9"
>> i=i+1
>> endfor
>> ?len(endrec )
Gad,
Endfor implicitly increments i. Remove i=i+1. Otherwise it's like saying:
do while i<=178
i=i+2
enddo
Or :
for i=1 to 178 step 2
endrec =endrec +"9"
endfor
Cetin