3 ms·
> If Lvalue implies variable Lvalue implies something that goes on the left side of an assign statement. An lvalue needn't be a variable, it could be a whole e
by cabalamat 17y ago
> If Lvalue implies variable
Lvalue implies something that goes on the left side of an assign statement. An lvalue needn't be a variable, it could be a whole expression, E.g.:
a := b;
c[x] := d.y;
Here, a and c[x] are lvalues. b and d.y are rvalues.
- wvenable 17y agoRight, but in the context of your function an expression is not possible -- you are passing a variable name to a lookup function.