I find this very odd

dunbarx at aol.com dunbarx at aol.com
Sun Feb 2 22:26:17 EST 2014


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 <prothero at earthednet.org>
To: How to use LiveCode <use-livecode at lists.runrev.com>
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
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 




More information about the use-livecode mailing list