<9. Advanced Engineering >
193
TI 34P02K35-02E May 31, 2017-00
9.1.14 Avoidance of the Error during Execution
The control task stops when division by zero (integer variables) or access exceeding
the range of the array occurs.
It is recommended to insert a code to avoid a careless stop.
●
Avoidance of Division by Zero (integer variables)
IF I_COUNT > 0 THEN
V_AVE := V_SUM/I_COUNT;
END_IF;
● Avoidance of Access Exceeding the Range of the Array
IF I_REPORT_M > 0 AND I_REPORT_M < 13 THEN
BUFFER_M [I_REPORT_M] := 10;
END_IF
Summary of Contents for STARDOM FCN-500
Page 2: ...Blank Page...
Page 10: ...Blank Page...
Page 32: ...Blank Page...
Page 36: ...TI 34P02K35 02E Jun 6 2018 00 Blank Page...
Page 76: ...TI 34P02K35 02E Jun 6 2018 00 Blank Page...
Page 163: ...Blank Page...
Page 221: ...Blank Page...
Page 225: ...Blank Page...