Hi Bill,
It looks like you put the array into myDatagridArray in one handler and
try to read this variable in another handler. Another possibility is
that you made a small spelling error in the variable name. It is also
possible that you are check the value of the variable in the script
editor while using the somewhat unreliable debugger. Instead of using
the debugger here, you could add the line
put the keys of myDatagridArray
and a line
answer (myDatagridArray is an array)
in convenient places to check the content of the variable.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other
colour spaces. http://www.color-converter.com
Buy my new book "Programming LiveCode for the Real Beginner"
http://qery.us/3fi
LiveCode on Facebook:
https://www.facebook.com/groups/runrev/
On 2/3/2014 02:27, proth...@earthednet.org wrote:
Folks:
I am using LiveCode 6.5.1 and I find the following behavior very odd.
I am working with datagrids and have the dgData of a datagrid, which is a
normal array.
put the dgData of group "DataGrid 3" into myDatagridArray
Then I do:
put myDatagridArray into newArray
What's then in newArray is "myDataGridArray", just the text name of the array.
This seems an odd behavior to me. Can't one just set one array to another array?
Bill
William Prothero
http://es.earthednet.org
_______________________________________________
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
_______________________________________________
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