[comp.sys.amiga.programmer] What is an lvalue

andrew@teslab.lab.OZ (Andrew Phillips) (01/24/91)

In article <22566@well.sf.ca.us> farren@well.sf.ca.us (Mike Farren) writes:
>etxtomp@eos.ericsson.se (Tommy Petersson) writes:
>... an "lvalue" is
>simply the value on the Left side of an assignment.

An lvalue can occur in other places such as is required by & (address of).

But that has always been my "working" definition of an lvalue -
anything that can appear on the left side of an assignment.
-- 
Andrew Phillips (andrew@teslab.lab.oz.au) Phone +61 (Aust) 2 (Sydney) 289 8712

ewing@tortuga.SanDiego.NCR.COM (David Ewing) (01/25/91)

>But that has always been my "working" definition of an lvalue -
>anything that can appear on the left side of an assignment.


Quoting K&R :

  "... an lvalue is an expression referring to an object ... "
*********************************************
David A. Ewing
ewing@tortuga.sandiego.ncr.com
*********************************************