RosettaCodeData/Task/Scope-Function-names-and-labels/ZX-Spectrum-Basic/scope-function-names-and-labels.zx

6 lines
165 B
Text
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
9000 REM The function is immediately visible and usable
9010 DEF FN s(x)=x*x
PRINT FN s(5): REM This will work immediately
GO TO 50: REM This will work immediately