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

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

From: Ted Spencer <tedspencer50@...>
Date: Mon, 19 Mar 2012 08:51:04 -0400
On 19 Mar, 2012, at 6:08 AM, Dan Baeckström wrote:

> Yes Robert is right. on <event>  gosub is scrapped (apparently), without the help file saying so.

That explains the illegality.

Thanks all for the fn nudges, although I still don't see why the change is absolutely necessary, aside from more or less aesthetic reasons. Yes: I've heard all the arguments, but I think it would be nice if there was a programming language for the rest of us. 

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

t