|
|
On Thu, 22 Feb 2001 11:57:11 -0500, Chris Huff wrote:
>In article <rggp8t019366bfd5tqif0rami2l5pk9ihm@4ax.com>, Peter Popov
><pet### [at] vipbg> wrote:
>
>> I would also like to see an equivalent of the 'with'
>
>What do you mean? I don't remember using "with" in Pascal, but my only
>experience with Pascal was a class a couple years ago.
If C had an equivalent, you could do something like this:
struct foo {
int bar;
int baz;
} quux, zort;
with (quux) {
bar = 0;
baz = 2;
}
Essentially, it saves you from having to type "quux." a bunch of times.
--
Ron Parker http://www2.fwi.com/~parkerr/traces.html
My opinions. Mine. Not anyone else's.
Post a reply to this message
|
|