Since your using Do While, can't you just say something like,
psuedo-code
do while dealers hand less than 17
deal another card
if dealer has five cards
exit do loop
loop
New to VB
I have a listbox.
I want to check which items have been selected. If any items have been selected I want to store the index value of that item in an array.
I imagine I can just loop through a listbox object that contains the selected items.
However, I am new to VB and so I don't...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.