view src/ploki/examples/throw.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
LET a @EVAL @foo 2
a_priv_"
LET a @EVAL @foo 0
a_", "_\__priv_"
END
FOR foo LEET priv " ERROR MESSAGE"
	IF \@ > 0
		KTHX \@ * 2
	ELSE
		IACS "error"
	FI