Print debugging statement: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: added more information in the REXX section header.) |
m (→{{header|REXX}}: used a shorter output.) |
||
Line 247: | Line 247: | ||
>V> "1" |
>V> "1" |
||
>V> "9" |
>V> "9" |
||
>F> " |
>F> "3" |
||
>O> "0. |
>O> "0.333333333" |
||
>O> "0. |
>O> "0.333333333" |
||
11 *-* end /*j*/ |
11 *-* end /*j*/ |
||
9 *-* do j=1 to 100 |
9 *-* do j=1 to 100 |
||
Line 255: | Line 255: | ||
>V> "2" |
>V> "2" |
||
10 *-* total= total + j/random(maxDiv) |
10 *-* total= total + j/random(maxDiv) |
||
>V> "0. |
>V> "0.333333333" |
||
>V> "2" |
>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" |
>V> "9" |
||
>F> "0" |
>F> "0" |
||
10 +++ total= total + j/random(maxDiv) |
10 +++ total= total + j/random(maxDiv) |
||
Error 42 running "c:\debuggin.rex", line 10: Arithmetic overflow/underflow |
Error 42 running "c:\debuggin.rex", line 10: Arithmetic overflow/underflow |
||
Error 42.3: Arithmetic overflow; divisor must not be zero |
Error 42.3: Arithmetic overflow; divisor must not be zero |
||
</pre> |
</pre> |