[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Top 10 IDL Requests
J.D. Smith (jdsmith@astro.cornell.edu) writes:
> I have sensed some great hesitation over
> the use of pointers for complex data structures.
Uh, have you mentioned the word "objects" lately? Uh, oh.
You just did. :-(
> This doesn't even go into the inherited data members.
Please, JD, it is not even close to Halloween.
> The deepest reference is in 2f. and goes something like
>
> *(*(*self.DR)[i].HEADER)[j]
>
> which may frighten you, but I assure you after a bit of practice and review of
> the (unwritten) precedence of "*", is quite tractable.
I actually think the precedence thing *is* written down...
somewhere. You just have to be an extremely lucky cultural
anthropologist to discover it. :-)
> Happy pointering.
Indeed.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155