Home > Available Help Files > PC-DMIS BASIC Language > Language Reference A – Z > For...Next Statement > Example:
Current Help System: PC-DMIS BASIC (View Core Help)
Example:
Sub Main
Dim x,y,z
For x = 1 to 5
For y = 1 to 5
For z = 1 to 5
Print "Looping" ,z,y,x
Next z
Next y
Next x
End Sub