[futurebasic] Re: [FB] Learning FB2 Toolbox - GWorlds

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 2004 : Group Archive : Group : All Groups

From: Jay Reeve <jayreeve@...>
Date: Sun, 19 Sep 2004 12:29:04 -0500
I consider the array-sans-index to be one of the most common and 
difficult bugs. I wish it were one the compiler could trap and report, 
at least as a warning if not an error.

  e-e
  =J= a  y
   "

On Sunday, September 19, 2004, at 11:14  AM, Richard Goodman wrote:

> OhmyGod!!!
>
> I can't believe I overlooked that.
>
> Thanks Bernie. You are so right
>
> It sure helps to have others look at one's code.
>
> I'm back in business.
>
> Richard
>
>
> I had written:
>
>>  The program is crashing when program flow reaches the first COPYBITS
>>  line in the fragment below:
>>
>>     dragRect;8 = @gIconRect(iconNum)
>>
>>     CALL COPYBITS(#bgGWPtr&+2, #stageGWPtr&+2, dragRect, gIconRect,
>>  _srcCopy, 0)
>>     //************** Above line causes a crash.  *******************
>>    <snip>
>>
>>  Any suggestions?
>
>
> Bernie Wylde wrote:
>
>> Shouldn't gIconRect be gIconRect(iconNum)?
>
>>  bw
>
> --
>
>