Home > database >  How to use numerical cycle time, added to the array subscript, thank you
How to use numerical cycle time, added to the array subscript, thank you

Time:10-13

For example, have an array xishu (6)
For cishu=1 to 6
Coefficient=xishu (1)
Do a subroutine
Endfor


Hope cycle 6 times,
The first cycle of array value xishu (1)
The second loop array value xishu (2)
The third cycle of array value xishu (3)
The fourth circular array value xishu (4)
The fifth cycle of array value xishu (5)
Sixth circular array value xishu (6)

Thank you, could you tell me how to implement should be

CodePudding user response:

 for I=1 to 6 
Chishu [I]=I
Do a subroutine
Endfor
  •  Tags:  
  • VFP
  • Related