Ferdinando, not sure if Copy Array will copy multi-dimensional arrays - you could try. but as worst case:
(assumes $B is already denied as having the same dimensions as $A) For($i;1;size of array($A)) copy array($A{$i};$B{$i} end for On Mon, 4 Dec 2017 10:51:30 +0100, Herr Alexander Heintz via 4D_Tech wrote: > 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 > ********************************************************************** --------------- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ********************************************************************** 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 **********************************************************************