|
Re: anonymous structures [message #10388 is a reply to message #10386] |
Thu, 27 November 1997 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Klaus Scipal (kscipal@fbgeo1.tuwien.ac.at) writes:
> I have to translate some idl programs to pvwave.
> In IDL you can use anonymous structures is there also a possibility in
> pvwave to define anonymous structures
PV-Wave allows unnamed (i.e., anonymous) structures as well.
However, the syntax is just slightly different, requiring
a comma *at the start* of the definition, to show that the
name is missing:
IDL> struct = { A:0, B:0.0 }
PV-WAVE> struct = { , A:0, B:0.0 }
Cheers,
David
-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|