[futurebasic] Re: [FB] DIMs and LOCAL FNs

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2000 : Group Archive : Group : All Groups

From: Joe Lewis Wilkins <PepeToo@...>
Date: Mon, 03 Apr 2000 13:49:46 -0700
"Brian J. Hughes" wrote:
<snip>

> Sounds like everything you said is correct.  I think the FB^3
> reference manual explains it pretty well in this paragraph:

<snip>

> I think that I'll just stick with Begin Globals...End Globals at the
> beginning of my programs and use local variables inside Local
> Functions.  That is unless I see some major need to deviate from this.

Hi Brian,

Thanks for mentioning this. I forgot to mention that I pretty much came
to the same conclusion regarding vars. I suspect that this "added"
flexibility just might come in handy, however, when you borrow bits
and pieces of code that someone else has written. Particularly when
there are several functions that work together and need to share some
vars - and you don't have to worry about updating your "project globals".
Probably sloppy programming, but - IN THE PAST - basic was notorious
for "sloppy", since it was used by so many "amateurs". Of course, we
FB Programmers are NEVER sloppy or amateur!  *-}

Joe Wilkins