Incorrect error message, odd array error.

Kenneth Brody kenbrody at bestweb.net
Wed Jun 2 15:42:11 PDT 2004


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.
> -----------------------------------------------
> 
> When np was (1,.0) the "out of range" number was "0".
> Any clues?

And you're certain that "np" is unconditionally assigned the value using:

    np=asc(LIA_DO)-"67"

Also, what is "LIA_DO", and how is it assigned?

-- 
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody        | www.hvcomputer.com |                             |
| kenbrody at spamcop.net | www.fptech.com     | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+



More information about the Filepro-list mailing list