Warning

You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
on [2019/06/09 08:18] neilson [2019/06/09 08:26] (current) – [Performance tip] neils
Line 34: Line 34:
 ====== Performance tip ====== ====== Performance tip ======
  
-An ''ON .. GOTO'' or ''ON .. GOSUB'' construct is faster than its ''IF ... THEN GOTO/GOSUB'' equivalent. It's especially useful when branching on a TRUE/FALSE condition, for example:+An ''ON ... GOTO'' or ''ON ... GOSUB'' construct is faster than its ''IF ... THEN GOTO/GOSUB'' equivalent. It's especially useful when branching on a TRUE/FALSE condition, for example:
  
   rem -- branching using IF ... THEN   rem -- branching using IF ... THEN