Runtime evaluation: Difference between revisions
→{{works with|ZX Spectrum Basic}}
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}}==
|