Re: Coding problem

Jon Ogden <[email protected]> Sun, 05 Aug 2018 12:44:47 -0500
Newsgroups gmane.comp.lang.realbasic.user
Message-ID <[email protected]>
What is blowing up?  Is MyBin not Nil?  Has it been opened?

What is the error message?

Sent from my iPhone

> On Aug 5, 2018, at 12:42 PM, Daniel Drijard <[email protected]> wrote:
> 
> Hello, 
> 
>   I have a problem. I use macOS SIERRA (10.12.6) on an iMac Retina bought 9/2015. 
>   The following shows my code. The program blows up in this routine, pointing to Adr(i).
> 
> Cordially, 
> Daniel
> 
> •••••••••••••••
> Read4 Byref NbWords as integer, Byref Adr() as integer
> dim i as integer
> for i=1 to NbWords
>  Adr(i)=MyBin.readint32
> next
> 
> MyBin was declared as BinaryStream
> •••••••••••••••
> 
> Daniel Drijard
> Thoiry téléphone : 
>  04 50 41 22 75
>    international
>  +33/4 50 41 22 75
> Courriel :
>   [email protected]
> Thoiry F-01710
>   48, rue des Savoies
>