Coding problem

Daniel Drijard <[email protected]> Sun, 5 Aug 2018 17:42:17 +0000
Newsgroups gmane.comp.lang.realbasic.user
Message-ID <[email protected]>
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