Ok, so I'm trying to define a list on the nspire, in TI-BASIC. I started with the L character, but I'm not sure that's correct, and I can't find an example.
I tried this:
Code:
But it didn't work. It displayed "1212". I also tried replacing x in the "lslist(x):=10, and the next instance, with 1 and 2 respectively, but it said that an argument could only be a variable.
Any Suggestions?
I tried this:
Code:
Define test()=
Prgm
:lslist:=10
:x:=1
:lslist(x):="10"
:x:=x+1
:lslist(x):="12"
:dim(lslist):=1
:Disp lslist(1)&lslist(2)
:EndPrgm
But it didn't work. It displayed "1212". I also tried replacing x in the "lslist(x):=10, and the next instance, with 1 and 2 respectively, but it said that an argument could only be a variable.
Any Suggestions?