go to statement-label
|
An integer or symbol that labels some statement in the procedure.
|
statement-label: statement
new-proc (quant1: quantity, quant2: quantity) = (integer)
x, y: integer;
begin
if x > 4
then go to tag5
else
return
tag4: x = 8;
tag5: x = y;
end
tag5 if x is greater than 4, and returns otherwise. Note that G2 never executes the statement labeled tag4.