BCX Console Demonstration Program s28.bas

 DIM a$
 DIM b
 
 INPUT "Enter a number ", a$
 
 b = VAL(a$)
 
 ? "The value of b = ", b