testing for equlaity

BlitzMax Forums/BlitzMax Beginners Area/testing for equlaity

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.

havent used bmax in a while - was wondering how to make this statement valid..

if(not this = that)
...
...
...
endif

assuming "this" and "that" are the same type. i expected the statement to
work correctly - instead, an error is reported - "cannot convert to int!".. im guessing the object refs are not considered integers for
safety reasons..

do i have to cast the this and that vars to pointers? so that an
integer compare can be done?

cheers!
matt/defoc8