[futurebasic] Re: [FB] SYSTEM(_lastCurs)

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 2011 : Group Archive : Group : All Groups

From: Max Taylor <maxclass@...>
Date: Wed, 12 Oct 2011 15:09:11 -0700
On Oct 12, 2011, at 14:31 PM, Bernie wrote:

> Max wrote:
> 
>> Anyone ever look at all the globals in the FBtoC source.
> 
> Nice one Max.  LOL  :-D

Maybe a few don't remember in the old ZBasic where all variables were global, period. When we didn't even have local functions or before that long functions. Remember all the labels and the goto's and the gosubs. Can't believe we can still actually write real code without those nifty features. Guess Andy got tired of writing compilers in assembly code. Does assembly code have globals? Must be a dying art.

My solution at times instead of using globals consists of creating a specific record structure that defines the needs required to solve the problem. Then just set the fields as your globals and you can use them anywhere and technically they are not considered globals so no one can laugh at you over the net. Problem solved, so there.

Max Taylor
The MaxClass Guy

P.S. So didn't this post have something to do with cursors?