What about COPY ARRAY ?

> Am 04.12.2017 um 10:45 schrieb stardata.info via 4D_Tech 
> <4d_tech@lists.4d.com>:
> 
> Hi All,
> 
> I need to copy a multidimensional array ($A) into another of the same 
> dimension ($B).
> Is necessary do a cicle and assign every single position or is possible to do 
> other?
> 
> ARRAY TEXT($A;1;2)
> ARRAY TEXT($B;0;2)
> $A{1}{1}:="1"
> $A{1}{2}:="2"
> $P:=Size of array($B)+1
> INSERT IN ARRAY($B;$P;1)
> $B{$P}{1}:=$A{$P}{1}
> $B{$P}{2}:=$A{$P}{2}
> 
> 
> Thanks
> Ferdinando
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to