Could really do with a Delphi "WITH" equivalent

BlitzMax Forums/BlitzMax Programming/Could really do with a Delphi "WITH" equivalent

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

They're called methods in BlitzMAX.
Please expain. I know what a method is of course, all my types have them, but how does that solve this situation? You are saying I should wrap that behaviour in a method of MyHumoungousType? Sure, in the example above that's fine, but it's not always that simple and there are times when this is not practical.

Noel: It is SIMILAR to c#'s "Using" but not the same. It just lets you write clearer code and you don't have to type as much. It wasn't "useless" in Delphi, and I miss it :-( sniff. (didn't miss your attitude though when you went AWOL ;-))