blueloveTH 429f572c53 ...
2023-05-22 13:11:28 +08:00

329 B

icon title
dot Goto Statement

pkpy supports goto and label just like C. You are allowed to change the control flow unconditionally.

Syntax

$goto <identifier>
$label <identifier>

Example

for i in range(10):
  for j in range(10):
    for k in range(10):
      $goto exit

$label exit