Table of Contents

10.5.6 On GoTo

The 'On GoTo' statement as a calculated jump exists in gambas since version 3.2.

10.5.6.1 'On GoTo' syntax

Jumps to one of the calculated labels. The evaluation of' Expression' must produce an integer value in order to select a (target) label.

On Expression GoTo Label_0 [ , Label_1 ... ]
…
Label_0:
  Instruction(s)
Label_1:
  Instruction(s)
…

10.5.6.2 Notes on the syntax

Download

Articles

Download