7 lines
293 B
QBasic
7 lines
293 B
QBasic
|
|
10 REM VAL on a non-numeric string must raise rather than quietly return 0.
|
||
|
|
20 REM There was no golden coverage of this until the converters moved onto
|
||
|
|
30 REM libakstdlib 0.2.0, which is when the message became that library's.
|
||
|
|
40 PRINT VAL("32")
|
||
|
|
50 PRINT VAL("garbage")
|
||
|
|
60 PRINT "UNREACHABLE"
|