You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no RUN command and no CLR command, so resetting arrays becomes a problem unless you write a routine to do it yourself (which uses extra space that 10 liners don't have)
here's what I mean in a nutshell:
for i=1 to 99
dim x(999)
next i
After a few loops this crashes with a memory error. In Atari or Turbo Basic I would just add a CLR command or even start the program again with a RUN.
Of course, in a sensible program this wouldn't be an issue - but 10 line coding tends to be a bit wild and loose.
The text was updated successfully, but these errors were encountered:
There is no RUN command and no CLR command, so resetting arrays becomes a problem unless you write a routine to do it yourself (which uses extra space that 10 liners don't have)
here's what I mean in a nutshell:
for i=1 to 99
dim x(999)
next i
You are right, it should be a way to free memory. But it is not easy without also clearing all variables back to 0.
Hit a problem while writing a 10 liner.
There is no RUN command and no CLR command, so resetting arrays becomes a problem unless you write a routine to do it yourself (which uses extra space that 10 liners don't have)
here's what I mean in a nutshell:
for i=1 to 99
dim x(999)
next i
After a few loops this crashes with a memory error. In Atari or Turbo Basic I would just add a CLR command or even start the program again with a RUN.
Of course, in a sensible program this wouldn't be an issue - but 10 line coding tends to be a bit wild and loose.
The text was updated successfully, but these errors were encountered: