Date : Tue, 05 Jul 2005 21:15:19 +0100
From : Sprow <info@...>
Subject: Re: This program will self destruct
In article <20050705195342.19344.qmail@...>,
F. Haroon <haroonnet2002@...> wrote:
> --- "A.J.Davis" <mail@...> wrote:
> > Reminds me of this old chestnut:
> >
> > 558 PRINT "HELLO"
> > OLD
> > 558 PRINT "HELLO"
> > OLD
> > 558 PRINT "HELLO"
> > OLD
> > LIST
>
> Produces:
>
> 46PRINT"HELLO"
> 558PRINT"HELLO"
>
> How come that is?
It's all about the operation of OLD. An alternative might be
256 LET A=1
OLD
LIST
Gives 0 LET A=1
All good fun,
Sprow.