Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: [TI-B] Limited number of variables? (Solved)  (Read 1232 times)

0 Members and 1 Guest are viewing this topic.
[TI-B] Limited number of variables? (Solved)
« on: March 11, 2007, 01:08:29 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 2690
So, I want to use more than 26 variables on a project.
So far I've been using variables within A-Z, but, what if I want to use more?
I've tried using "AB" and "A2" as variable names, but those don't work...
Am I restricted to the use of variables just from A to Z?

EDIT: Solved. >_>
« Last Edit: March 11, 2007, 01:31:51 pm by Ricky »
Logged
Re: [TI-B] Limited number of variables? (Solved)
« Reply #1 on: March 26, 2007, 04:45:16 am »
  • Huzzowee!
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 571
Of courses not. To have only 26 variables would be ridiculous! You can use theta as well ;). BUt, I'm assuming 27 isn't enough either. Luckily enough for you, there's a sort of workaround. You can use lists or matrices to store data. Lists can be about as long as you want, and as long as you remember what's stored where, you can call on it or edit it whenever you need just like a variable.

To specify the dimensions of a list, you use the dim() function. So, to set L1 to have 3 lines, you would use "3 -> dim(L1)". To call or assign data to a specific point in a list, you just put the position in parenthesis. I think they start at zero, so the first position would be called with L1(0), the second with L1(1) and so on.
Logged
"They say 'Don't sweat the little things!', but in the end, the little things are all that matter..."
--Alex2539
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.024 seconds with 38 queries.