Date : Sun, 26 Jun 2005 12:34:41 +1000 (EST)
From : Peter Craven <cjl_craves@...>
Subject: Re: BASIC IV: Coded Line Number
--0-851948069-1119753281=:35961
Thanks Richard
I do not quite understand the reason for having encoded line numbers within
the program when you have the &8D line number token alerting you that the
three bytes following represent an encoded line number. Why could they not
just have the line number token &8D followed by the line numbers in standard
LSB, MSB format??
I looked at the site you sent. In other places there it mentions BASIC V.
I did not realise there was a BASIC V produced. Do you know who dseigned
and produced it? What improvement did it have over BASIC IV? Do you have
a copy of it? Can it be put on to an EPROM and used in a Master instead of
BASIC IV??
CHeers
Pete
Richard_Talbot-Watkins@... wrote:
Peter Craven wrote:
> Does anyone know how the three byte 'coded line
> number' is calculated when using BASIC IV GOTO/ GOSUB
> statements??
It's quite twisted!
http://mdfs.net/Docs/Comp/BBCBasic/Line/Numbers3
has all you need to know.
Rich
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
postmaster@...
This footnote also confirms that this email message has been checked
for all known viruses.
**********************************************************************
Sony Computer Entertainment Europe
Dr Peter Craven (MBBS Uni. of Qld)
12 Treacher St
Mt Gravatt
QLD 4122
Ph (H): (07) 3349 0820
Do you Yahoo!?
Win a dream trip to Western Australia, courtesy of the NEW My Yahoo!