Storing a variable as a list ?


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

Storing a variable as a list ?



How could i store the same variable in diferent rows of  a list ?
(in a Ti92) e.g:
i need to write something like this,
prgm
disp "how many resistors"
input a
for i,1,a
disp "please enter the value of resistor" : disp i
input r1
newdata listr,{r1} --------------- > ?????????
endfor
endprgm
I cannot figure it out how to do it. It can be stored into a matrix
too, but the problem i need to solve, is that anytime that the
sentence is executed, the variable should be stored in another row of
a list, Is it clear ? please help me.

******************************************************************
* To UNSUBSCRIBE, send an email TO: listserv@lists.ppp.ti.com
* with a message (not the subject) that reads SIGNOFF CALC-TI
*
* Archives at http://peach.ease.lsoft.com/archives/calc-ti.html
******************************************************************