Could really do with a Delphi "WITH" equivalent

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

@Chalky: You can't copy objects, everytime you assign a value to a type variable, unless you're using the NEW keyword, you're just 'pointing' to an existing instance. that's very handy and has a lot of functionality when working on managed OO programing.

Sometimes you will see that some clases have a 'Create' function. this functions usually perform the NEW action inside their code, and return the newly created object. that's the only 'exception' I can think of.