[Top][All Lists]

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

setting global variables

From: Fritz Sonnichsen
Subject: setting global variables
Date: Fri, 26 Oct 2018 13:40:34 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

I have been using the "global" directive to set up some (around 50) global variables in a script. However in order to access them from functions in the same script, I need to define them as global again or they are not defined in the function.    Seems a bit redundant to me--is there some way to define variables share by all functions just once?


reply via email to

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