[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `*' variable always local to functions
uh, i'm not quite sure what you're talking about here. the only thing about
``*'' which is special is that if you have no other arguments to a lambda, it
is used by default. this was done so that
fn g { grep $* }
would just work. (cultural compatibility, rather than real compatibility.)
for example,
; * = foo bar
; fn x a b { echo $b $a; echo $*; * = x y }
; x 1 2 3
2 3 1
foo bar
; echo $*
x y
;
paul