need to compare pointers

Blitz3D Forums/Blitz3D Programming/need to compare pointers

slenkar(Posted 2007) [#1]
hi I am going through a list of items twice

for i.item=each item
if it.item=each item
if i\name=it\name
delete it
endif
endif
next

but I need to make sure its not comparing the exact same type instance

so I need to compare the pointer handle,

how would I do this?

EDIT- d'oh just worked it out
if i<>it


Chroma(Posted 2007) [#2]
Nm I see you figured it out.