Qbasicnews.com

Full Version: TI 82
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Anyone knows how to add more Real variables? It most be do able since you're able to delite them (the standard ones simply isn't enuf for writing any bigger games)
You want more variables?
well at least for the ti83+ you can use lists
a list is like an one dimension array

press

[5] [sto] [2nd] [1] [(] [3] [)]

to store 5 into element 3 of list L1

Btw I'm making a game in tiBasic someting like scorched earth
or gorillas...

got the main menu and terrain generator working...
I use my lists and arrays for other stuff I simply want to add more real variables... and I knew you would get yourself togather and start making a game Wink
lol

Well there's no more variables in the t83+ than
A-Z phi Lists and matrices...

Do you use all lists for school or whatever the "other" stuff is?
I use them for varius games (and some for school) but since you're able to delite real variables (the ones from A-Z+ the strange looking 0) you should be able to attatch more aswell...or the delting part makes no sense...
Well it's the last one...
...It doesn't make sense...

AFAIK tiBasic can't handle memory locations like QB can
(with VARPTR$, VARSEG$) so you have a set
of predefined memory locations
(I'm only guessing but I think it's something like that)
that point to the memory location the variable is,
so i gues

[0] [sto] [A] stores 0 to the memory location A points to
[B] [sto] [A] stores the value at the memory location B points to
to the memory location A points to.
DelVar [A] sets the pointer A to zero (or something) and frees
the memory it previously pointed at.

[/guess]

but at least in ti83+SE you can use sequential lists or something
that I guess Tongue is some kind of lists above list L6
should have gotten a TI 83+...knew I should have gotten one of those...
Well it might as well work on the 82 if it does, and I know what
I'm talking about (...probably not...) search for a function called "seq("...

...But of course you should have got a 83+ :lol:


[edit] that about seq( had nothing to do with it...

BTW does the 82 have a function called "asm("?
i got a TI-82 and i havent figured out all the syntax and commands. do any of you know of asite that covers some of the basics
1:get a ti83+
2:use the matricies
3:come back here and i'll tell you the rest... im just too tired...
Pages: 1 2 3