Re: TIB: A=200,A=-3....help


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

Re: TIB: A=200,A=-3....help




On Fri, 16 Jan 1998 18:21:48 EST SWISH   97 <SWISH97@aol.com> writes:
>
>Hey I am making a program on the 85 and I am
>trying to make a money system so that if you
>do something then your money about decreases
>or increases. 
> What I have now is 
>:U=200

ok there's your error.  You are making U equal to the equation "200." 
What you are wanting to do is store the value 200 into U:
:200-->U
(the --> stands for the "sto" character)

>and then later in the program I want to make it so
>if you do press one of the menu buttons it will take
>off or add like 5 to U.
>I tried this:
>:U=-5
>but that didn't do anything, does anyone know how to do this? 

ok, here you're setting U to -5.  You want to store the value 5 less than
U back into U.
:U-5-->U

You'll have to get used to the TI-basic since it has many things
differing from regular basic, but once you do, it's easy.
(just in case you don't already know, you have to use == instead of = to
test for equality.  If you knew this, just ignore)


Sincerely,
The Unibomer

Jared Ivey
Unibomer@Juno.com
http://www.geocities.com/SiliconValley/Vista/7342

"A bore is a person who talks so much about itself that you can't talk
about yourself." -- Unknown


References: