Differences

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

Link to this comparison view

Both sides previous revision Previous revision
on [2019/06/09 09:18]
neils
on [2019/06/09 09:26] (current)
neils [Performance tip]
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