Search here for all the info you want in this Blog

do.. loop until


do.. loop until


Repeats a block of statements until a condition becomes True.

Syntax:

Do
   [statements]
   [Exit Do]
   [statements]
Loop [{Until} condition]


Example:

i=0
do
msgbox i
i=i+1
loop until i=10

No comments:

Post a Comment