[futurebasic] Re: XREF

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

From: "David Cottrell" <David.Cottrell@...>
Date: 11 Nov 97 15:17:45 +1000
On Tue, 11 Nov 1997 12:04 PM, M Goodes <mailto:wave@...> wrote:

> This may cause a problem in your code if XREF implicitly starts at zero
(I
> don't know if it does or not).  This would mean that if you have created
> space for 3 records, they would be records 0, 1, and 2.  The third one
> would be the undefined memory space that continues after your block.   So
> when you do a loop from 0 to 3, on the third loop you end up writing to
> memory space that is probably being used for something else, thus the
> crash.

This seemed like a very good explanation (& I kicked myself for not seeing
it) - but changing the for/next to 0 to 2 worked once - and since then has
died each time.

Thanks anyway

David

------------------------------------------------------------------
Dr David Cottrell                				James Cook University of North
Queensland
                                		
All unconventional spellings that you might notice in the above are
intentional, and are just part of a living dynamic language.
------------------------------------------------------------------