RosettaCodeData/Task/Exponentiation-operator/ZX-Spectrum-Basic/exponentiation-operator-1.basic

5 lines
93 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
10 PRINT e(3,2): REM 3 ^ 2
20 PRINT e(1.5,2.7): REM 1.5 ^ 2.7
30 STOP
9950 DEF FN e(a,b)=a^b