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

Home » Public Forums » archive » Re: Extract a sub-structure from 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: Extract a sub-structure from a structure [message #47241 is a reply to message #47179] Fri, 27 January 2006 18:01 Go to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Thu, 26 Jan 2006 08:15:21 -0800, L. Testut wrote:

> Hi David,
>
> Even with the parantheses it doesn't work ?
> With solution 1 it becomes more tricky to change the type of each
> field parameter in the structure ? and what about the memory occupied
> by the old complete structure (which I don't need anymore)...or was it
> a joke ?

You don't need to place parens at random until it works. There is a
very easy to remember (if not obvious) rule, which I've discussed a
few times, including in the operator precedence tutorial. Here's the
most recent discussion:

http://groups.google.com/group/comp.lang.idl-pvwave/msg/3ea7 242603c7f040

JD
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Problem of precedence with pointer and structure
Next Topic: q5/ ***Hot stuff - check this out !!! q5/

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

Current Time: Fri Oct 10 05:36:14 PDT 2025

Total time taken to generate the page: 0.00235 seconds