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

Home » Public Forums » archive » anonymous structures
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: anonymous structures [message #10388 is a reply to message #10386] Thu, 27 November 1997 00:00 Go to previous message
davidf is currently offline  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/
[Message index]
 
Read Message
Read Message
Previous Topic: How to use LINKNLOAD in PV-Wave 5.0
Next Topic: linknload problem in PV-Wave 6.10 on Win 95 / IBM-PC

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

Current Time: Sun Oct 12 07:31:14 PDT 2025

Total time taken to generate the page: 0.96247 seconds