This project has moved. For the latest updates, please go here.

SubNextToEndSub

Don't insert null lines between EndSub and the next Sub. Because any code not in subroutines will be included a subroutine Main in Visual Basic code generated with [Graduate] command.

Sample Code

Sub DumpA
  TextWindow.WriteLine(a)
EndSub
Sub DumpB
  TextWindow.WriteLine(b)
EndSub

instead of
Sub DumpA
  TextWindow.WriteLine(a)
EndSub

Sub DumpB
  TextWindow.WriteLine(b)
EndSub

See Also

MainSubSequence

Last edited Jan 18, 2016 at 5:58 AM by Nonki, version 2