[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: automatic local variables



ok, now i think i see what you want.  you want a function which
doesn't take any arguments and doesn't bind any local values.
in that case, use a program fragment rather than a lambda:

	; * = arg arg2 arg3
	; $*(1) = foo
	; fn-frob = { $*(1) = bar }
	; frob
	; echo $$*(1)
	bar
	;

if you want the arguments, you have to use a lambda and bind them
to some variable.  if you don't want the arguments, don't use a
lambda.

paul