Error in Array Index
Posted: Fri May 27, 2016 7:30 am
Roger,
Just trying to clarify an error pasted below. Happens once in every 100-200 times at this site .Hard to verify since the users are only in one menu option and it works 'most' of the time.
oError:args :
-> VALTYPE: A VALUE: {{588.000, "F", 30000, 155, 1, 588.000, " ", 0}}
-> VALTYPE: N VALUE: 2
oError:description : Error in array index
oError:filename :
oError:genCode : 4
oError:operation : <A of 1>[<2>]
CALLSTACK:
Called from AUTORATE(2984)
The line in autorate is:
DO WHILE Z<=X
***LOOK FOR SPECIAL ACCESSORIAL CHARGES***
IF RATES[Z,7]="Y" .and. rates[z,6]<>0 ///error line
***********************************************
Appears to mean that the array is only 1 and that z=2. That would mean x is more than the array. They retry and it works. Driving a crazy guy crazier.
Just want to verify I am reading it right.
Thanks and have a good holiday weekend.
Fred
Omni
Just trying to clarify an error pasted below. Happens once in every 100-200 times at this site .Hard to verify since the users are only in one menu option and it works 'most' of the time.
oError:args :
-> VALTYPE: A VALUE: {{588.000, "F", 30000, 155, 1, 588.000, " ", 0}}
-> VALTYPE: N VALUE: 2
oError:description : Error in array index
oError:filename :
oError:genCode : 4
oError:operation : <A of 1>[<2>]
CALLSTACK:
Called from AUTORATE(2984)
The line in autorate is:
DO WHILE Z<=X
***LOOK FOR SPECIAL ACCESSORIAL CHARGES***
IF RATES[Z,7]="Y" .and. rates[z,6]<>0 ///error line
***********************************************
Appears to mean that the array is only 1 and that z=2. That would mean x is more than the array. They retry and it works. Driving a crazy guy crazier.
Just want to verify I am reading it right.
Thanks and have a good holiday weekend.
Fred
Omni