• 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 5 and 6
    Revision 5 as of 2012-10-24 01:28:16
    Size: 1019
    Editor: Romulus
    Comment:
    Revision 6 as of 2012-10-24 20:24:08
    Size: 1057
    Editor: Romulus
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 1: Line 1:
    ## page was renamed from GosubReturn

    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



    ScriptControlStructures

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