3 ms·
The BASIC version that run BBC Micro had proper functions and subroutines with local variables (I think it even had recursion, but I'm not 100% sure). AFAIK, a
by AlexeyBrin 2y ago
The BASIC version that run BBC Micro had proper functions and subroutines with local variables (I think it even had recursion, but I'm not 100% sure).
AFAIK, all Microsoft BASIC (of which AppleSoft BASIC was a descendent) versions did not have the above until QBasic.
- masfuerte 2y agoIt did have recursion. >LIST 10PRINT FNFACT(6) 20END 30DEFFNFACT(N) 40IF N=1 THEN =1 ELSE =N*FNFACT(N-1) >RUN 720
- AlexeyBrin 2y agoThanks for letting me know, BBC BASIC was indeed advanced for the period.