graham
POKE 16510,0
this makes first lane number 0, can´t be edited. use for copyright
notice. to hide LISTing use the following: - ENTER III REM ad" than POKE
16514,118 and POKE 16515,118; LISTing is gone
greetings
jens
>What is the poke to turn the first line in a program to like 0 and back?
Depends on what Sinclair computer :)
For the Speccy it's POKE 23756,0 assuming you have no IF 1 attached.
No prizes for guessing what POKE turns it back again :)
sorry - i mean the ZX81
We used to shove loads of dummy chars in that line and then overwrite them
with machine code routines as well of course, but you really did then have
to make the number uneditable or accidental editing udid all your work.
Brian
--
Brian Gaff....Note, this account does not accept Bcc: email.
graphics are great, but the blind can't hear them
Email: bri...@blueyonder.co.uk
______________________________________________________________________________________________________________
"david lightman" <david.l...@gmx.de> wrote in message
news:fqdk1f$emn$01$1...@news.t-online.com...
Dave
Graham
"David Robinson" <ravyda...@hotmail.com> wrote in message
news:47ca9e08$1...@mk-nntp-2.news.uk.tiscali.com...
> > What is the poke to turn the first line in a program to like 0 and
> > back?
>
> For the Speccy it's POKE 23756,0 assuming you have no IF 1 attached.
...and that the first line is numbered lower than 256.
Eq.
Frans
POKE 16424,0 ' H byte
POKE 16425,10 ' Low byte
or POKE 16425,0 to change the first line to "0"
On the ZX80.