[Top][All Lists]

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

Re: setting global variables

From: Andreas Weber
Subject: Re: setting global variables
Date: Sat, 27 Oct 2018 10:29:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0

Am 26.10.18 um 19:40 schrieb Fritz Sonnichsen:
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

In my opinion global variables aren't needed and shouldn't be used. When I've started using GNU Octave >15years ago I thought I have to use them but after I got more familiar with the language and I discovered anonymous functions and guidata, appdata (which is basically global) I never had to use globals again.

-- Andy

reply via email to

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