Visual Basic

mechboard

Baseband Member
Messages
21
Can anyone help me with List all the visual basic looping and decision constructs that help me to write a program that sorts.
 
if [condition] then
function
end if

or

if [condition] then
[action]
else
[action]
end if

there are loads, too many for me to remember outside of a real context...

you'll find loads of examples on msdn.microsoft.com and the syntax checker of Visual Studio works wonders for helping to get forgotten function correct.
 
theres also

Code:
Select Case [variable]
        Case [condition]
              [action]
        Case [condition]
              [action]
        Case [condition]
              [action]
End Select
 
Back
Top Bottom