|
|
 |
RE: FN-FORUM Digest V1 #4404
date posted 28th January 2003 17:57
Um - I think the theory is that making functions class members obsoletes
"with". E.g:
Sub DoStuffToBill
With Bill
.a = .a + 2
.b = .b * .2
end with
end sub
becomes
class Bill
...
.. sub DoStuff
a = a + 2
b = b * 2
end sub
...
or something like that....
(I must be getting v. sad commenting 3 times on a language thread!!!)
Richard Parratt
Bramshott Consultants Ltd
http://www.bramscons.co.uk
> I don't think I'm going to argue with that - apart from the lack
> of a "With"
> like construct in C# which is both useful and efficient in vb
> and, presumably,
> vb.net.
>
> James Murphy (trying to decide which way to lean!)
> Consett, County Durham.
|
 |
|