[futurebasic] Re: [FB] Where are my glasses?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 2012 : Group Archive : Group : All Groups

From: Bernie <fblist.bw@...>
Date: Mon, 19 Mar 2012 13:09:24 +0000
Ted wrote:

> 
> Globals...
> 
> The bone upon which I'm gnawing is replete with them, and I don't see how it can be otherwise. There's a file with data (time markers, pressure, bubble diameter, pump volume) which is read and plotted on the screen. Upper and lower envelope waveforms are calculated and plotted. A differential pressure waveform is calculated and plotted, and used, with the dynamic diameter data, to calculate - you guessed it - the dynamic surface tension of a lipid. The whole works is saved as a new data file, ready to be recalled.
> 
> How in thunderation would you do all that with local arrays that evapourate at the first whiff of an end fn?? The thing appears to be begging for globalization!
> 
> end rant
> 

There's no law against using globals. If you need 'em, use 'em.

As Max noted a while back, "Anyone ever look at all the globals in the FBtoC source?"   :-)