Answers for "do until loop vb.net"

VBA
0

do until vb.net

Dim z As Integer = 0
'Do the action until the condition is true

'add 1 to z until z equals 20
Do Until z = 20
	MsgBox(z)
	z += 1
Loop
Posted by: Guest on September-04-2020
0

while loop in vb.net

'While loops are used to run a section of code WHILE a condition is true

'EXANPLE: Add 1 to x while x is less than 10
Dim x As Integer = 1

Do While y < 5
	MsgBox(y)
	y = y + 1 'OR y += 1
Loop
Posted by: Guest on November-11-2021

Code answers related to "VBA"

Browse Popular Code Answers by Language