Type Problem

Blitz3D Forums/Blitz3D Beginners Area/Type Problem

If your thinking of deleting types with lots of if's, then:


If b\x = 5 then
   delete b
ElseIf b\y = 6 then
   delete b
end if



instead of


If b\x = 5 then
   delete b
End If
If b\y = 6 then
   delete b
end if



The first one will not produce the error, the second one however will.