view src/ploki/examples/arg.pk @ 4318:270a65749c2c

<mrhmouse> echo "args=\\$*" > repeat
author HackBot
date Thu, 16 Jan 2014 22:52:50 +0000
parents ac0403686959
children
line wrap: on
line source

#!../ploki
LET i @NEG 1
FOR arg LET i i+1
IF i < \ARG
	WUNT ("arg "_ i _ " = " _ \ARG:i _ "\n")
	NEXT arg
FI