A92: Re: Making a variable
[Prev][Next][Index][Thread]
A92: Re: Making a variable
Sure...
Take a look at FILES.TXT in the "doc" folder of your
Fargo II installation. It explains the format for
files on the ti-92. For specifics, I need to know
WHAT variable you are wanting to create.
For most numerical-based variables, you will want
to look at EXPRESSIONS. You will need to know how
to TOKENIZE an expression. For example,
((a^2)+(b^2))^(1/2) (Distance formula of sorts)
Ti-92 tokenizes wierd... it will appear backwards
in memory, but look something like this (similar
to Polish Notation)
^ + ^ a 2. ^ b 2. / 1. 2.
You calculate by breaking it up into this "tree":
^
----------
+ /
------- 1 2
^ ^
a 2 b 2
But please check the FILES.TXT. I may have it
wrong.
P.S. Just to cover my bases... I said "Polish
Notation" for a reason. RPN, which is Reverse-
Polish Notation, is not the same as Polish
Notation. Some leave out the "Reverse" assuming
it'll make sense. There is a difference, and I
wanted to ensure I wasn't taken incorrectly. :)
====
Aaron Hill (Redmond, WA)
E-Mail: SeracOhw24@msn.com
IRC-Nick: Serac (EF-Net) (was SeracOhw)