[futurebasic] Re: Reoccuring Bug

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 1999 : Group Archive : Group : All Groups

From: tatewake@... (TJ Grant)
Date: Sun, 13 Jun 1999 21:11:38 -0400
>Both times, it was in line 287, so I could narrow it down to the a TCP/IP
>LOCAL FN TCPSendData%(stream&, dataPtr&, length%, retry%)
>  LONG IF length% > 0
>    myWDS.wdsLength%(0) = length%    'This is line 287

Ok- well in FB2, records and arrays don't mix. You just can't do it.
You could work around it by making a pointer the size of two records, and
writing accessor routines to look into them/write them. This is actually
covered in the FB2 manual- however, I don't recall a page number or

I'm kinda surprised it compiles at all. I thought FB2 did checks for
array/record conflicts.

>My INCLUDE Structure looks like this:
>  -MainCommands.INCL
>    -Protocols.INCL
>      -SendReceive.INCL
>        -LongStrings.INCL
>        -TransportHighCmds.INCL
>          -TransportLowCmds.INCL

I've always heard it was bad karma to INCLUDE an INCLUDE...
If it works though, more power to ya.

-- TJ Grant (tatewake@...)
Inspired Communications. http://inspired.netstreet.net/
Phone: 407-728-7563