Comparing 2 objects

BlitzMax Forums/BlitzMax Programming/Comparing 2 objects

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.

yep I guess the B3D Str solution would be the one...

<teamonkey> that wouldn't work cause... well I m making a small mod that add a few functions for arrays (like append, insert or remove)... what I want to do is create a remove function that can have an array and the index of the object to remove as parameters, and a second version of remove that has the array and the object you want to remove... inside the second version I have to test if the passed object is "equal" to one of the objects in the array and if so remove it... I guess I'll have to stick with the remove object only if these are pointers to the very same object...

(hope this makes sens :) )