Even better!

Bob S


On Feb 1, 2017, at 16:08 , Richard Gaskin via use-livecode 
<use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote:

Whenever you have a collection of variables whose names may be variable, an 
array is a natural fit.

LiveCode supports n-dimensional arrays, so you could use:

-- Store:
put "something" into tBigArray["1"]["text"]
put "somethingelse" into tBigArray["2"]["text"]

-- Retrieve:
put tBigArray["1"]["text"] into tSomeVar
put tBigArray["2"]["text"] into tAnotherVar


--
Richard Gaskin

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to