With operator like in Object Pascal

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Wed Jan 24 02:28:25 PST 2007


Denis Golovan wrote:
> Maybe I missed something, but does D have some analog of Pascal with 
> operator? When
> using containers classes it is just the necessary language feature. 
> Object-oriented development
> as a whole needs it a lot.

It's been a while since I've used Object Pascal, and I don't recall if 
'with' did something different there (are you sure it's an operator, not 
a statement?), but perhaps you are looking for 
http://www.digitalmars.com/d/statement.html#WithStatement ?



More information about the Digitalmars-d mailing list