Re: Coding problem

Markus Winter <drmarkuswinter-gM/[email protected]> Sun, 5 Aug 2018 23:14:52 +0200
Newsgroups gmane.comp.lang.realbasic.user
Message-ID <[email protected]>
> On 5. Aug 2018, at 19:42, Daniel Drijard <[email protected]> wrote:
> 
> Read4 Byref NbWords as integer, Byref Adr() as integer
> dim i as integer
> for i=1 to NbWords
>  Adr(i)=MyBin.readint32
> next

Are you sure Adr() doesn‘t start at zero and goes to NbWords - 1 ?

Test by checking ubound of Adr()

Markus