On 2016-08-17, MRAB <[email protected]> wrote:
> C uses "->" for dereferencing a pointer to the member of a struct.
>
> If "p" points to a struct (record), then "*p" is that struct, and if
> that struct has a member (field) "m", then that member can be accessed
> by "(*p)->m" (the parens are necessary because of the operator
> precedence).
ITYM (*p).m
> This can be abbreviated to "p->m".
>
> Pascal, on the other hand, dereferences with a postfixed "^", so that
> would be "p^.m".
--
Grant Edwards grant.b.edwards Yow! Is this an out-take
at from the "BRADY BUNCH"?
gmail.com
--
https://mail.python.org/mailman/listinfo/python-list