view src/ploki/examples/reset.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
IF @NOT ("foo" ~ "{.}0!") | (\0 ; "o")
	"error
	END -1
FI
IF "foo" ~ "b"
	"error
	END -1
FI
IF @DEF-P \0
	"ARGH: match variable not reset
	END -1
FI
"ok