HTBasic Help
×
Menu
Index

RES

Returns the result of the last numeric keyboard calculation.
 
 RES
 
Usage:
Sum=RES+Sum
PRINT "User Response:";RES
Example: RES.BAS
Description:
Typing in a numeric or string expression and pressing ENTER causes the computer to evaluation the expression and print the result on the message line. This is called "calculator mode" and allows you to use your computer as you would a hand calculator. If the result is numeric, it is saved for later recall by using the RES function.