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

Home » Public Forums » archive » Re: Defining Integer Field in a Structure
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: Defining Integer Field in a Structure [message #27824 is a reply to message #27732] Tue, 06 November 2001 17:02 Go to previous message
Harvey Rarback is currently offline  Harvey Rarback
Messages: 24
Registered: September 1998
Junior Member
"David Fanning" <david@dfanning.com> wrote

> If you wish to create a stucture definition without
> actually creating an instance of a structure, you
> put the structure definition in a file, like this:
>
> PRO newstruct__define.pro
> struct = {NEWSTRUCT, a:0, b:0.0, c:fltarr(10)}
> END

This is something that has always confused me. It seems like the variable
"struct" is created (at least help will tell you that it exists). So, does
IDL
"actually create an instance of a structure" with this mechanism or not?

Thanks (in advance) for helping clear up my confusion.

--Harvey
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: FSFC/IDL5.5 installation
Next Topic: RSI, Mac and Tru64

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

Current Time: Fri Oct 10 15:17:33 PDT 2025

Total time taken to generate the page: 6.96045 seconds