|
Post by davos1 on Jan 23, 2011 17:25:59 GMT -5
strange error, should the result be 0, isnt it?
a$="1ra. Sur Poniente 1460" print val(a$)
Runtime Error in program 'untitled': print val(a$) INVALID RADIX
|
|
|
Post by davos1 on Jan 23, 2011 17:39:58 GMT -5
well, maybe not 0, if val gets the value of the first word...
|
|
|
Post by StefanPendl on Jan 24, 2011 4:38:58 GMT -5
The string is not representing a number, so returning zero as in LB4 is not really correct, but raising an error is.
I would expect this behavior.
|
|