SGoto

This is an old revision of SGoto, edited by Trev at . The current revision is 136254.

English translation of German page

Back to local compiler directives.

$GOTO

The $GOTO directive:

Example:

  {$ GOTO ON}

 label TheEnd;

 begin
   If ParamCount = 0 then
     GoTo TheEnd;
   Writeln('Parameters were passed on the command line');
 TheEnd:
 end.

Note for inline assembler: If labels are used in the assembly code, the directive {$GOTO ON} must be used.