Hi Paul,
> LABEL is another keyword. The interpeter looks
down the linked list of
> line numbers, notes each line that starts with a LABEL and registers its
> address. Then, GOSUB LABEL A is a cinch and performed in constant time.
> If the program were held in RAM, it's easy to fix things up, but with
> the program in FLASH you really do need some extra help. The LABEL
> concept certainly does help the interpreter and is a good programmer
> aid.
>
> Giving away all the secrets here, but I'm going to publish the
> interpreter at some point anyway.
Are you referring to Butterfly Basic here ?
Using that kind of labels would seem like a nice happy medium.
Ultimately the target is to provide potential users of RF with something that
will
fire up in minutes, fully programmable and more - not to provide a super
advanced
Basic machine - every man and his dog's already done Basic interpreters.
(Although it's got pretty much everything you'd want in Basic)
-- Kris
Basic compiler
Started by ●June 27, 2004
Reply by ●October 1, 20042004-10-01
Reply by ●October 1, 20042004-10-01