tell me why

Blitz3D Forums/Blitz3D Beginners Area/tell me why

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.

OK BUT HOW DOES IT GET TO THAT POINT AGAIN? after i delete e, the loop should go to the next e. correct? and then the next time i call this loop it would not include the deleted e. so can you explain for me. It seems to work also if I delete the NEXT e .. can you explain that.. here is the changed delete code

If flagd=True Then
FreeEntity e\HIDDENSPRITE
FreeEntity e\pivot
Delete After E
Delete e
EndIf
Next


That works with no problems.. why ?