Class extension (dot syntax for new methods)

BlitzMax Forums/BlitzMax Programming/Class extension (dot syntax for new methods)

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.

nino, kind of but not really.

Two important differences:

1) You can only provide custom functions for a limited set of function field names, so you need to know all those names in advance. Useful, certainly, but not useful for the same kind of problem as I have.

2) Your custom functions only apply to an inidivudal object. What I'm proposing would instantly become available to all instances of the class being extended.