| 1 | package montimath.vanilla; |
| 2 | |
| 3 | script If2 |
| 4 | Q cond = 1; |
| 5 | Q result = 0; |
| 6 | if cond >= 1 |
| 7 | result = 1; |
| 8 | elseif cond < 0 |
| 9 | result = -1; |
| 10 | else |
| 11 | result = 0; |
| 12 | end; |
| 13 | end |
| 1 | package montimath.vanilla; |
| 2 | |
| 3 | script If2 |
| 4 | |
| 5 | |
| 6 | if |
| 7 | |
| 8 | elseif |
| 9 | |
| 10 | else |
| 11 | |
| 12 | end; |
| 13 | end |