From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,42b96374c851ce5a X-Google-Attributes: gid103376,public From: "Jean-Pierre Rosen" Subject: Re: Ada for numerics computation (i.e. forget Fortran ?) Date: 1999/04/27 Message-ID: <7g4oe1$3dj$1@wanadoo.fr>#1/1 X-Deja-AN: 471518874 Content-Transfer-Encoding: 8bit References: <372083A1.45A5EB97@t-online.de> <7fqeua$ih8$1@pegasus.csx.cam.ac.uk> <8790bhslfz.fsf@bglbv.my-dejanews.com> <7fvbth$4m4$1@news.rz.uni-karlsruhe.de> <7fvpl8$mpm@drn.newsguy.com> <7g1e20$t12$1@wanadoo.fr> <7g1n08$8t8$1@news.rz.uni-karlsruhe.de> <7g1qcm$o4$2@pegasus.csx.cam.ac.uk> <7g4av3$bgd@drn.newsguy.com> Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 X-Complaints-To: abuse@wanadoo.fr X-Trace: wanadoo.fr 925230337 3507 164.138.9.208 (27 Apr 1999 16:25:37 GMT) Organization: Adalog Mime-Version: 1.0 NNTP-Posting-Date: 27 Apr 1999 16:25:37 GMT Newsgroups: comp.lang.ada Date: 1999-04-27T16:25:37+00:00 List-Id: me@me a �crit dans le message <7g4av3$bgd@drn.newsguy.com>... [good stuff about reference semantics deleted] >To make A get its own value of the object B, one needs to be explicit and >write > >A = B.clone(); > >(Assuming B supports the clone() method). > But, as I noted in a previous message, this doesn't work if A and B are two-dimensional arrays. You should then write: for (i=0; i