2 Likes
Interesting… seems BASIC09 has no EVAL(), which is commonly cited as a difficulty for compilers. Language reference from 1983:
4 Likes
Did any BASICs apart from BBC BASIC (EVAL) and Sinclair BASIC (VAL) have string function evaluators? It seems such a handy function.
(For those unaware: this goes beyond the typical VAL(“4”) returning a numerical value, and evaluates the string as a BASIC expression. Example:
>X=4
>A$="X^3-X^2+X-4"
>PRINT EVAL(A$)
48
It has many uses.)
Courtesy of the same guy that brought OS9 to the Atari realm ![]()