What Mark said.

I has to be something, because there is no reason you cannot put an array into 
as many new variables one after the other.They will all be arrays. try it with 
a new DG that contains a little data. In a button:



on mouseup
   put the dgData of grp 1 into myarray
   put myarray into newArray
   put newArray into bb
end mouseup


put a breakpoint at "end mouseUp"


Craig



-----Original Message-----
From: prothero <[email protected]>
To: How to use LiveCode <[email protected]>
Sent: Sun, Feb 2, 2014 8:28 pm
Subject: I find this very odd


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
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 

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

Reply via email to