endless-sky / endless-sky-wiki

GNU General Public License v3.0
6 stars 18 forks source link

Documentation for `branch` with no condition #11

Closed ziproot closed 3 months ago

ziproot commented 4 months ago

Describe the issue

Multiple people have wondered why you cannot use goto without a text. Apparently, you don’t need to, because you can just use branch without a condition. This is not documented.

Expected content

Information is given on how using branch without a condition is treated as goto without text attached.

Amazinite commented 4 months ago

That sounds more like an emergent property than anything that was ever intended. Cool use of branch.