Jump to content

Print debugging statement: Difference between revisions

m
→‎{{header|REXX}}: used a shorter output.
m (→‎{{header|REXX}}: added more information in the REXX section header.)
m (→‎{{header|REXX}}: used a shorter output.)
Line 247:
>V> "1"
>V> "9"
>F> "63"
>O> "0.166666667333333333"
>O> "0.166666667333333333"
11 *-* end /*j*/
9 *-* do j=1 to 100
Line 255:
>V> "2"
10 *-* total= total + j/random(maxDiv)
>V> "0.166666667333333333"
>V> "2"
>V> "9"
>F> "8"
>O> "0.25"
>O> "0.416666667"
11 *-* end /*j*/
9 *-* do j=1 to 100
>V> "2"
>V> "3"
10 *-* total= total + j/random(maxDiv)
>V> "0.416666667"
>V> "3"
>V> "9"
>F> "0"
10 +++ total= total + j/random(maxDiv)
Error 42 running "c:\debuggin.rex", line 10: Arithmetic overflow/underflow
Error 42.3: Arithmetic overflow; divisor must not be zero
</pre>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.