What about to add a new command named Delete?

BlitzMax Forums/BlitzMax Programming/What about to add a new command named Delete?

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.

Ferminho:
as long as the new ones don't decrease old ones functionality
I'm sure they don't.
If you don't use Delete, everything's like before.

Ferminho:
I'm not very sure how can an unreferenced-but-not-deleted-yet object can cause runtime errors. Could you give an example?
I didn't say an unreferenced-but-not-deleted-yet object, I said an invalid object. For example by writing a GUI module a window object whose window has closed:
...

Type TWindow
  Field handle

  ...

  Methdo Remove() 'After user called this method object still exist, but it's invalid
    CloseHandle handle
    ...

    Extern "Win32"
      Function CloseHandle( handle )
    EndExtern
  EndMethod
EndType
What if user calls a method like SetSize after calling delete?
The function would throw a runtime error.