This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's TI-BASIC subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. TI-Basic => TI-BASIC
United-TI Archives -> TI-Basic
 
    » Goto page Previous  1, 2
» View previous topic :: View next topic  
Author Message
Alex


Newbie


Joined: 25 Feb 2004
Posts: 29

Posted: 27 Feb 2004 12:07:57 am    Post subject:

ahh nvm im getting this now.. i got it Laughing
now on to finishing the cash system
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 27 Feb 2004 04:45:29 am    Post subject:

Say you want to increase A with 2, the new value would equal A+2, so:
A+2->A

:lol:
Back to top
Alex


Newbie


Joined: 25 Feb 2004
Posts: 29

Posted: 27 Feb 2004 10:10:25 am    Post subject:

yeah i figured that out just before i posted my last post. Laughing Now onto the battle system uggh..
Back to top
robertak


Member


Joined: 14 Feb 2004
Posts: 125

Posted: 27 Feb 2004 04:59:46 pm    Post subject:

Quote:
Actually, that would give you an error too. What you have to do is LMoney(1) + amount to add -> LMoney(1)
Sorry, I just realized I made a mistake Neutral


Quote:
Okay, why use a list? You could just use variables.
Well, lists cannot be deleted as easily by a user or a program, that is, if you wish to keep the value and not reset it. Programs often use variables and could change the one with the money, so the money would change. If you reset the money to zero everytime you run the program, you don't need a list.

Last edited by Guest on 27 Feb 2004 05:06:17 pm; edited 1 time in total
Back to top
X1011
10100111001


Active Member


Joined: 14 Nov 2003
Posts: 657

Posted: 27 Feb 2004 05:07:56 pm    Post subject:

robertak wrote:
Quote:
Actually, that would give you an error too. What you have to do is LMoney(1) + amount to add -> LMoney(1)
Sorry, I just realized I made a mistake Neutral

Wait, I just realized you were actually right, I forgot you can add single numbers and lists.


Last edited by Guest on 27 Feb 2004 05:11:50 pm; edited 1 time in total
Back to top
robertak


Member


Joined: 14 Feb 2004
Posts: 125

Posted: 27 Feb 2004 05:11:02 pm    Post subject:

Laughing lol, it seemed to me i had tried it in my calc and it worked but i wasn't sure when i posted. Very Happy
Back to top
Toksyuryel
Crimson Dragon Software


Elite


Joined: 14 Jun 2003
Posts: 880

Posted: 27 Feb 2004 11:52:20 pm    Post subject:

It's still better to get into the habbit of putting the (x) in there just so you don't forget to do it when you need it. You can always optimize it out later.
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    » Goto page Previous  1, 2
» View previous topic :: View next topic  
Page 2 of 2 » All times are UTC - 5 Hours

 

Advertisement