• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (GUI)
  • Edit (Text)
  • Rename Page
  • Copy Page
  • Load Page
  • Save Page
  • Delete Page
  • Attachments
  • Check Spelling
  • Diffs
  • Info
  • Revert to this revision
  • XML
  • Render as Docbook
  • Print View
  • Raw Text
  • Delete Cache
  • Like Pages
  • Local Site Map
  • Remove Spam
  • Package Pages
  • Sync Pages
    • Diff for "Return"
    Differences between revisions 2 and 3
    Revision 2 as of 2012-09-09 22:30:41
    Size: 1143
    Editor: Inanna
    Comment:
    Revision 3 as of 2012-09-09 22:30:56
    Size: 1138
    Editor: Inanna
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 26: Line 26:
    CategoryFunctionScripts CategoryGeneralScripts CategoryAllScripts CategoryGeneralScripts

    Usage:

    gosubreturn

    Example:

    gosubreturn

    Used with Gosub at the end of a subroutine to return to the line that called it, and proceed from there.

    • gosub medalfarm
      gosub trainarch
      gosub upgradecot
      loop 0
      label medalfarm
      attack 123,300 !Bubba,!Xavier,any t:400,b:400
      gosubreturn
      //
      label upgradecot
      upgrade house
      repeat 2
      gosubreturn
      //
      label trainarch
      train arch:2500 Hero
      gosubreturn


    CategoryAllScripts CategoryGeneralScripts

    Return (last edited 2012-10-24 20:30:00 by Romulus)