Jump to content

Runtime evaluation: Difference between revisions

Line 173:
 
CHR$ 178 is the token of function SQR, and CHR$ 178 is the token of function SIN.
 
In 48 k mode, you can also write this:
<lang zxbasic>10 LET f= SQR (x)+SIN (x*3)/2</lang>
Then the type of the variable is changed and the formula is enclosed in quotation marks:
<lang zxbasic>10 LET f$=" SQR (x)+SIN (x*3)/2"</lang>
 
=={{header|BBC BASIC}}==
672

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.