To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 7000
6999  |  7001
Subject: 
Re: Save arrays in VB5
Newsgroups: 
lugnet.robotics
Date: 
Fri, 24 Sep 1999 23:52:28 GMT
Original-From: 
Joel Shafer <joel@connect.*spamless*net>
Viewed: 
532 times
  
At 06:06 PM 9/24/99 -0400, you wrote:
Does anyone know how to save an array in VB5? I have tried a for loop,
but it always says subscript out of range. It shouldn't be out of range
since I know how big the array is. Can anyone help? This is for a 2 step
scanner program.



Try this:

dim i as integer

for i=lbound(myarray) to ubound(myarray)
         <save the array element myarray(i) >
next i



Joel Shafer    joel@connect.net



Message is in Reply To:
  Save arrays in VB5
 
Does anyone know how to save an array in VB5? I have tried a for loop, but it always says subscript out of range. It shouldn't be out of range since I know how big the array is. Can anyone help? This is for a 2 step scanner program. (25 years ago, 24-Sep-99, to lugnet.robotics)

5 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
1 hour ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR