Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR subscript out of range

 
Highlighted
Victor Akamine
Occasional Advisor

ERROR subscript out of range

Hi,

I've created a script to aggregate a lot of files in only one.

But, i have a lot of archives and this error occur in process: subscript out of range.

The output file was created apparently without errors.

But i want to know if this problem can cause future problems.

Regards,
Akamine
5 REPLIES 5
Highlighted
Steven Schweda
Honored Contributor

Re: ERROR subscript out of range

My psychic powers are too weak to let me
diagnose a problem in an invisible (shell?)
script, let alone predict what its
consequences might be in some unspecified
environment.

> The output file was created apparently
> without errors.

So, either you don't have a problem, or else
you can't tell if you have a problem. How
important are these data?
Highlighted
Victor Akamine
Occasional Advisor

Re: ERROR subscript out of range

I want to know how this problem 'subscript out of range' may affects my script.

I want to know what is this problem, the script not is my property, because this i can't available in this forum.

Thanks
Highlighted
Steven Schweda
Honored Contributor

Re: ERROR subscript out of range

> I want to know what is this problem, [...]

Normally it means that you have some array
with a finite size, and you have tried to
access some storage outside its extent.

> I want to know how this problem 'subscript
> out of range' may affects my script.

That (still) depends on the (invisible)
script, and my psychic powers are still too
weak to show me that without your help.

> [...] i can't available in this forum.

I guess that you're stuck, then.

Who wrote this script? Ask him?
Highlighted
Dennis Handly
Acclaimed Contributor

Re: ERROR subscript out of range

>this error occur in process: subscript out of range.

This happens if you have a subscript > 1023.
What command is producing that error message?
Highlighted
James R. Ferguson
Acclaimed Contributor

Re: ERROR subscript out of range

Hi:

> I want to know how this problem 'subscript out of range' may affects my script.

At the very least, your script isn't going to do all that it was intended to do.

> the script not is my property, because this i can't available in this forum.

And then it isn't possible to be more specific in answering your first question, above.

This is a question of don't-ask-if-you-can't-tell.

Regards!

...JRF...