14 p->X returns the same as (*p).X. Thus the current value of *p is
15 to be an object of a type for which X identifies one element.
16 p->X then returns the lvalue corresponding to that element of the
19 The expression *p.X will cause a runtime error since this is
20 interpreted as *(p.X) in which p is expected to be an object of
23 Spaces or tabs on either side of -> are optional.
29 ; p->one = 1; p->two = 2
34 ; p->two->one = 3; p->two->two = 4
51 address, dereference, isptr, dot
53 ## Copyright (C) 1999 Landon Curt Noll
55 ## Calc is open software; you can redistribute it and/or modify it under
56 ## the terms of the version 2.1 of the GNU Lesser General Public License
57 ## as published by the Free Software Foundation.
59 ## Calc is distributed in the hope that it will be useful, but WITHOUT
60 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
61 ## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
62 ## Public License for more details.
64 ## A copy of version 2.1 of the GNU Lesser General Public License is
65 ## distributed with calc under the filename COPYING-LGPL. You should have
66 ## received a copy with calc; if not, write to Free Software Foundation, Inc.
67 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
69 ## @(#) $Revision: 30.1 $
70 ## @(#) $Id: arrow,v 30.1 2007/03/16 11:10:42 chongo Exp $
71 ## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/arrow,v $
73 ## Under source code control: 1997/09/06 20:03:34
74 ## File existed as early as: 1997
76 ## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
77 ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/