Line 0 REM

Anything Sinclair ZX Basic related; history, development, tips - differences between BASIC on the ZX80 and ZX81
Post Reply
User avatar
bodkinz
Posts: 12
Joined: Sat Jun 21, 2014 7:20 pm
Location: London

Line 0 REM

Post by bodkinz »

Am I right in thinking that "POKE 16510,0" will change "1 REM 12345" to "0 REM 12345" ?

I couldn't find the solution when i googled it.. so i just POKED around....

This is a safe way to create a line 0 REM ?

Thanks in advance
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Re: Line 0 REM

Post by PokeMon »

Yes - that would be okay.
If you want to mix up BASIC and Z80 assembly you could use the ZX-IDE as well which understand both Z80 Assembler and all ZX BASIC structures including line numbers, numbers, variables and so on. Using ZX-IDE you don't have to think anymore about hardcoded addresses. ;)
http://sinclairzxworld.com/viewtopic.php?f=6&t=1064
Post Reply