Re: Disassembling BASIC?


[Prev][Next][Index][Thread]

Re: Disassembling BASIC?



po_boxx_823@hotmail.com wrote:
> Indeed, the 85 does store programs as plain text.  For instance,
> ever notice how on the 80, 81, 82, 83 if you try to delete a
> single character from a function you selected (say Disp or
> something) the whole function disappears?  Those calcs store
> a function as a one (or two) byte reference variable to know to
> which one you are referring.  The 85/86 supports just typing in
> any function withouth having to select it from a menu (hence,
> you could type sin x as SIN x, sIN x or whatever).  So they are
> stored as plain text because of this.

When you run those programs on a TI-85 or TI-86, it still tokenizes the
commands and functions.  Notice that when you run a program containing
SIN x or sIN x and edit it later, the calculator will turn it into just
plain sin x.  It also changes the commands to use capital letters in the
correct places.  These are examples of words being tokenized ito a
shorter code.  One difference between the 81-83 calcs and the 85/86
calcs is the way each calculator handles variable names. Because
variables can be given all sorts of names instead of using the
predefined names, it isn't tokenized in the 85/86 like the others.  I
hope this may explain some of the differences.


References: