RosettaCodeData/Task/Documentation/ZX-Spectrum-Basic/documentation-1.zx

3 lines
147 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
10 LET a=10: REM a is the number of apples
1000 DEF FN s(q)=q*q: REM s is a function that takes a single numeric parameter and returns its square