Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Add a new tag f...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 5453 of 5995
Post > Topic >>

Add a new tag for anonymous structure array

by geonline714@[EMAIL PROTECTED] Feb 21, 2008 at 04:20 PM

I have an anonymous structure array, say, A.Let us assume the size of
the array is 100. Each structure has tags A, B,C. I want to add a new
tag, D. How to do that in IDL?
I tried:
myStruct = create_struct(A, 'D',0), but it failed.

It seems that the above syntax works only for an individual structure
instead of structure array.
For example,

myStruct = create_struct(A[0],'D',0) and it works.

This is an issue that can be easily solved in matlab. I am not sure
whether IDL provides straightforward method to do that.

Sincerely,
Qi
 




 3 Posts in Topic:
Add a new tag for anonymous structure array
geonline714@[EMAIL PROTEC  2008-02-21 16:20:57 
Re: Add a new tag for anonymous structure array
wlandsman <wlandsman@[  2008-02-21 19:24:37 
Re: Add a new tag for anonymous structure array
geonline714@[EMAIL PROTEC  2008-02-21 22:03:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 18 20:40:06 CDT 2008.