comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » newbie question / concatenation of arrays of nested structure
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
newbie question / concatenation of arrays of nested structure [message #17052] Wed, 08 September 1999 00:00
Thomas Launey is currently offline  Thomas Launey
Messages: 25
Registered: September 1999
Junior Member
Hi folks,

This question has probably been already posted many time.
how can I concatenate 2 arrays of anonymous nested structures?
In other word, try to concatenate the two arrays below

first=replicate({a:0,b:'name',c:{d:0,e:0}},5)
second=replicate({a:0,b:'name',c:{d:0,e:0}},3)
third=[first,second]
% Conflicting data structures: B,concatenation.
% Execution halted at: $MAIN$

I have not been able to find a way to do that properly (without subscripting
each field one after another) an there are no example in David Fanning's
book (Hey David, I've bought your great book, please help :-))

Cheers
Thomas
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Canny-method edge detection on PV-WAVE
Next Topic: Re: 3D irregular tetraedal grid generation

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:48:32 PDT 2025

Total time taken to generate the page: 0.00554 seconds