view src/ploki/examples/goto.pk @ 11266:d0b0045333a6

<oerjan> learn_append A test is a test, in jest, in jest.
author HackBot
date Tue, 12 Dec 2017 22:00:50 +0000
parents ac0403686959
children
line wrap: on
line source

#!../ploki
WUNT "1..3
GOTO 0
01 WUNT "ERROR MESSAGE
10 END
10 WUNT "ERROR MESSAGE
WUNT "ok 1
0  GOTO 10
20 WUNT "ok 3
20 GOTO 20
20 GOTO 0
20 WUNT "ERROR MESSAGE
10 WUNT "ok 2
10 GOTO 20
00 GOTO 10