Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How to have function local variable but must behave just a simple one



On Sat, Aug 26, 2023 at 11:11 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> On 2023-08-26 13:58, Roman Perepelitsa wrote:
> >
> > Indeed, given that in zsh there are no function-scoped parameters that
> > outlive an invocation of the function, Budi will have to use a global
> > parameter and take necessary precautions to ensure the name of the
> > parameter does not clash with other globals.
> >
> > Roman.
>
> I'm puzzled as to what the problem really is from a practical point  of
> view.

You aren't missing anything.

Roman.




Messages sorted by: Reverse Date, Date, Thread, Author