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

Home » Public Forums » archive » Structure Creation with Execute
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Structure creation [message #80534 is a reply to message #3992] Wed, 20 June 2012 09:11 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 6/20/12 8:06 AM, alx wrote:
> On 20 juin, 13:01, John Coxon<john.co...@gmail.com> wrote:
>>
>> I see, that would make sense. Is there any way to clear a structure, for
>> instance, between two runs of a program?
>
> If your structure has only numeric fields:
>
> for i=0,N_Tags(your_struct)-1 do your_struct.(i) = 0

This will clear the values, but the definition of avg1. You need to do a
.reset or restart IDL to do that.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Always Something to Worry About
Next Topic: Re: Always Something to Worry About

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

Current Time: Sun Oct 12 12:14:06 PDT 2025

Total time taken to generate the page: 1.19901 seconds