1. Looping For -Next ( Looping ditentukan hasil akhir di awal )
dim i as integer
For i = 1 To 100
print i
Next i
2. Looping Do-Loop Until ( Looping ditentukan hasil akhir di akhir )
dim i as integer
Do i = i + 1
print i
Loop Until i = 10
3. Looping While - Wend ( Looping ditentukan hasil akhir di awal namun nilai perulangan ditentukan ditengah proses )
While i < 10
i = i + 1
print i
Wend
4. Looping Do While - Loop ( Sama dengan While - Wend )
Do While i < 10
i = i + 1
Print i
Loop
5. Looping Do-Loop ( Looping yang dapat diberhentikan saat proses, tergantung berapa nilai akhirnya )
Do i = i + 1
Print i
If i = 10 Then Exit Do
Loop
0 Comments
Leave a comment here.. :)
thanks..
______________________________________________________
Yuka db: "Nothing special.. Just You 'n Yourself...."