Flow-control structures: Difference between revisions

Content added Content deleted
m (→‎{{header|Phix}}: added js compatibility tags, reordered for clarity)
m (→‎goto: sp)
Line 1,620: Line 1,620:
Note that a goto statement, or inline assembly (a goto statement is implemented using fragments of auto-generated inline assembly) will cause the compiler to abandon certain optimisation efforts, in particular type inferencing and constant propagation, which can result in a larger and slower program.
Note that a goto statement, or inline assembly (a goto statement is implemented using fragments of auto-generated inline assembly) will cause the compiler to abandon certain optimisation efforts, in particular type inferencing and constant propagation, which can result in a larger and slower program.


Previous versions had no hll goto statement, however the folowing work around was (and still is) available:
Previous versions had no hll goto statement, however the following work around was (and still is) available:
<lang Phix>without js
<lang Phix>without js
#ilASM{ jmp :label }
#ilASM{ jmp :label }