I'm wondering if there is a way in ZX80 BASIC to manipulate the CONTINUE memory value to point always to one line number, hence having a one-byte GO TO statement?
RUN is fine if you want to go to the first line of your ZX80 program - however, what if you GO TO a particular line quite often that isn't the first line, and want to save some bytes? Could CONTINUE be used in this instance (i.e., POKE a value to some mem location and then use CONTINUE to GO TO that without using GO TO)
Yes - but this all make no sense for a ZX80 which has no floating point values but char values only.
Keep the church in the village as we say in Germany.
GO TO 5 need same space as GOTO A while A will take additional space for its value.
So how want you POKE system variables and what would be the use if this need more space than a simple GO TO 8 ???
I didn't recall that on ZX80 the value isn't stored after the value. I guessed it was two bytes instead of five.
So GOTO A or GOSUB A will save Space only if the Value of A is larger than 9. LET A = 9000 for example.
On a ZX81 it will save 5 more bytes for the floatingpoint value.
While RUN will clear all Variables. This can be hazardous.
Kind regards Paul
In theory, there is no difference between theory and practice. But, in practice, there is.
Yes but what do you do with a saved byte only and how many bytes do you need to manipulate the CONTINUE target ?
This is all theoretical with no practice relevance and by the way, using GOTO A needs also a variable entry with 5 bytes ...