Another gripe (was: Re: Incorrect error message, odd array error.)
Jay R. Ashworth
jra at baylink.com
Wed Jun 2 21:37:36 PDT 2004
On Wed, Jun 02, 2004 at 06:02:03PM -0400, William James McEachran wrote:
> When I run the line I get the following error:
> ---------------------------------------------
> *** A filePro Error Has Occurred ***
>
> Array Index Out of Range: dim prffac(7) -- Index: -35
>
> Output Processing
> Line Number: 22
>
> ai=prffac[np]*lia(11)
> ^
> Process contains a syntax error at position indicated.
> -----------------------------------------------
Clearly, the syntax error is at '[np]', not at the beginning of the line.
Could I take a moment to explain the concept of "worse than useless" in
the context of error messages that give too much detail, and it's worng?
(Yes, it could be that Bill's quoting pushed the caret left, but I
don't think so; it gets it wrong for me *almost* all the time.
*Especially* when it's mischaracterizing a runtime error (which this
clearly is) as a 'syntax' error, which this *CLEARLY* is not.)
Cheers,
-- jra
--
Jay R. Ashworth jra at baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA http://baylink.pitas.com +1 727 647 1274
"They had engineers in my day, too." -- Perry Vance Nelson
More information about the Filepro-list
mailing list