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

Home » Public Forums » archive » Appending structures?
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
Appending structures? [message #3066] Mon, 07 November 1994 11:04
meo is currently offline  meo
Messages: 6
Registered: November 1994
Junior Member
We all know how to append an array for example
array = [array,3,5]

Does anyone have any solution on how to append a structure without
rewriting the whole contents of the structure again. For example:

dd1={name:'Cat',array:fltarr(3),index:4}

If I want to add another data type to "dd1" without writing

dd1={name:'Cat',array:fltarr(3),index:4,scale:4.6}

Thanks

Fern...
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: SUMMARY Plotting points in 3-dimensions
Next Topic: finite element analysis

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

Current Time: Thu Oct 09 21:23:47 PDT 2025

Total time taken to generate the page: 1.28150 seconds