[futurebasic] Re: Graphics

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 1997 : Group Archive : Group : All Groups

From: Rick Brown <rbrown@...>
Date: Sat, 13 Dec 1997 17:40:03 -0600
David Cottrell wrote: 
> END FN = graphRect 

Chris replied:
> ...couldnt you just pass the address like 
> 
> END FN = @graphRect 

Yes, you can, _if_ graphRect is a global variable.  If graphRect is a
local variable, then the memory it occupies is disposed of as soon as
the function exits, and any pointer to graphRect becomes invalid.

- Rick