RosettaCodeData/Task/Flow-control-structures/Visual-Basic-.NET/flow-control-structures-4.visual

10 lines
139 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
Sub Foo1()
If Not WorkNeeded() Then Exit Sub
DoWork()
End Sub
Sub Foo2()
If Not WorkNeeded() Then Return
DoWork()
End Sub