Size: 1143
Comment:
|
Size: 1057
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
||<tablestyle="margin: 1em 1em 1em 0px; background-color: rgb(249, 249, 249); border-style: solid; border-color: rgb(170, 170, 170); color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; line-height: 19.5px; text-align: start; " tableclass="wikitable"style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; background-color: rgb(242, 242, 242); ">Usage:||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; ">gosubreturn|| ||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; background-color: rgb(242, 242, 242); ">Example:||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; ">gosubreturn|| |
## page was renamed from GosubReturn ||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start;" tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">gosubreturn || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">gosubreturn || |
Line 7: | Line 8: |
{{{ | . {{{ |
Line 25: | Line 26: |
Line 26: | Line 28: |
CategoryFunctionScripts CategoryGeneralScripts | ---- ScriptControlStructures |
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