Compare is used when sorting lists of types (i.e. using list.Sort() ) . The sort algorithm calls a type's method passing another type instance (to compare it to) as the parameter, and you return 1 or -1, depending on whether the object should go before or after the current instance.
Using Compare()
BlitzMax Forums/BlitzMax Beginners Area/Using Compare()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.