Derek Parnell wrote:
>
> I guess the reason for using with() is to avoid typing repetitive stuff.
> Would this work instead ...
>
>
> int x, y;
> with (p as "somevery.long.struct.or.class[17].name")
> {
> y += p.x;
> ++p.x;
> }
{
ref p = somevery.long.struct.or.class[17].name;
y += p.x;
++p.x;
}