[Top][All Lists]

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

Re: add a way to declare global variables

From: Matthew Woehlke
Subject: Re: add a way to declare global variables
Date: Fri, 11 Dec 2009 19:11:00 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20090825 Fedora/ Thunderbird/ Mnenhy/

konsolebox wrote:
I hope the development team will also consider adding a way in bash to
declare global variables inside a function perhaps either with an
option in typeset or declare like -g (same as zsh) and/or a builtin
function like global as similar to local.

I thought variables in functions were /always/ global unless declared local?

Please do not quote my e-mail address unobfuscated in message bodies.
"[Microsoft's] license tells you what a netbook is." -- Steve Ballmer

reply via email to

[Prev in Thread] Current Thread [Next in Thread]