Post Reply 
{ Vars List} how to store a value in one var of the list ?
02-05-2014, 11:01 AM
Post: #1
{ Vars List} how to store a value in one var of the list ?
Hi Friends,

Inside a program, {'A1','A2','A3'} is created dynamically, then stored in L1

L1:={'A1','A2','A3'};

I need to store a value, for example 4 in 'A1'...
L1(1) does reference to 1st position in the list so L1(1):=4;
generates {4,'A2','A3'} and It is not desired ... I want to do A1:=4; for future use in the program.

So...How to store (if possible like HP 50g RPN: 4 L1 1 GET STO) a value in one list´s variable ??

PD. I don´t want to define...LOCAL A1, A2, A3.....An

Thanks and best regards!!
joseph
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
{ Vars List} how to store a value in one var of the list ? - josephec - 02-05-2014 11:01 AM



User(s) browsing this thread: 1 Guest(s)