RosettaCodeData/Task/Program-termination/Visual-Basic/program-termination.vb

11 lines
169 B
VB.net
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
Sub Main()
'...
If problem Then
For n& = Forms.Count To 0 Step -1
Unload Forms(n&)
Next
Exit Sub
End If
'...
End Sub