I find this very odd

prothero at earthednet.org prothero at earthednet.org
Sun Feb 2 23:35:52 EST 2014


Folks:
Ok, its late here and I've been working on this all day. Even missed the SuperBowl, zowee!
It's my bad. It does act like I thought it should.
Sorry for wasting your time, and seeming to be …….
Best,
Bill

William Prothero
http://es.earthednet.org



On Feb 2, 2014, at 7:31 PM, Peter W A Wood <peterwawood at gmail.com> wrote:

> Bill
> 
> I tried the following code in the message box in 6.5.1 and it gave the results that you are expecting:
> 
> Code
> put "1" into tArray[1]
> put "2" into tArray[2]
> put tArray into tAnotherArray
> put tAnotherArray[1] & lf into tP
> put "6" into tArray[1]
> put tArray[1] & lf after tP
> put tAnotherArray[1] & lf after tP
> put tP
> 
> Output
> 1
> 6
> 1
> 
> Perhaps dgData is not such a normal array after all?
> 
> Peter
> http://LiveCode1001.blogspot.com
> 
> On 3 Feb 2014, at 09:27, prothero at 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 at 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 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