10-30-2018, 10:49 AM
Sorry, I overlooked this message.
The code above is respected, but the variable "factorial" is a variable and ZX Basic (as many basics) don't resolve line numbers dynamicaly. Also there's is a missing line 10000. You should add an empty line
for the program to compile, and perhaps use ON GOTO to transform factorial variable into a jump table.
The code above is respected, but the variable "factorial" is a variable and ZX Basic (as many basics) don't resolve line numbers dynamicaly. Also there's is a missing line 10000. You should add an empty line
Code:
10000 REM