lua-users home
lua-l archive

Re: New operators?

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


> Or maybe an alias operator that allows you to create temporary local names
> for variables:-
> 
> ?x = longVarName?x + 1 -- read longVarName?a as "longVarName which we
> will call x"
Aliases in the form
	alias x=longVarName, y=AnotherLongVarName
are trivial to implement with token filters (though respecting scopes will
need some real work).
--lhf

AltStyle によって変換されたページ (->オリジナル) /