Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CAN ANYONE TELL ME!!

Status
Not open for further replies.

samirjk

Programmer
Jul 5, 2001
4
IN
hi everybody,
i am using an array to read a text file. I have kept all the checks for the data, but sometimes when the text file is read it gives me Subscript out of range '[number:0]' error.
Can anyone tell me why this is happening and how to fix it. Thanks in advance.
 
do you mean that you're reading sections of a line in a textfile into an array? because a new line in the textfile would cause this error if so.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top