Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

gmStudio attempts to refactor subroutines the use GoSub by extracting the GoSub target code into a method can calling the extracted method from the locations of the GoSub.  


In some cases, this technique can fail to produce a good translation; for example when the GoSub is intermingled with Gotos and VB6 error handling logic.  In those cases, you may suppress the GoSub migration in for the particular method using 

<Compile...>
...
<Refactor>
   <Migrate id="identifier_of_method" RemoveGoSub="on" /> 
</Refactor>
</Compile>


You may find the identifier of the method by examining the symbol report.

  • No labels