this is the script
dec{ 2 } ld2_temp
long ll_pos, ll_arrayCount, ll_ac
string ls_temp, ls_file_read
Try
ls_file_read = is_file_string_read /* debugging */
ll_pos = LastPos( is_file_string_read, is_tilde )
ls_temp = Mid( is_file_string_read, ll_pos + 1 )
ll_arrayCount = UpperBound( id2_cost_extended )
if isNull( ll_arrayCount )=True then
ll_arrayCount = 0
end if
ll_ac = ll_arrayCount + 1
ld2_temp = Dec( ls_temp )
id2_cost_extended[ ll_ac ] = ld2_temp
/*
debugging
*/
ll_arrayCount = UpperBound ( id2_cost_extended )
ld2_temp = id2_cost_extended[ ll_arrayCount ]
Catch ( runTimeError er )
as_errorString = as_errorString
End Try
Return
instance array id2_cost_extended[] is null when this function is called
ll_arrayCount = NULL
ll_ac gets set to 1 (verified that ll_ac = 1 in the debugger)
when this line is executed
id2_cost_extended[ ll_ac ] = ld2_temp
the program falls into the Try Catch,
as_errorString = '', i.e. no runtime error reported
when i look at the value of id2_cost_extended[] in the debugger, it's null.
i've regenerated the nvo and the nvo it's inherited from
what am i doing wrong?