> I want to put the value of thisKey into a variable when it matches. > > So I tried a few iterations of: > > > > put value(thisVar[thisKey]) & space after newVar >
Little confused about what you want to do but let's say thisKey contains"abc" and the array element thisVar["abc"] contains 123. If you want to put "abc" into your other variable: put thiskey & space newVar. If you want to put 123 into your other variable: put thisVar[thisKey] & space after newVar Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> _______________________________________________ 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