BCX Console Demonstration Program s33.bas

DIM a
DIM b

a = 65 + 66 + 67

b = ASC("A") + ASC("B") + ASC("C")

PRINT "A = ", a , "  and  B = ", b

Result:

A =  198  and  B =  198