return in a for next loop

Blitz3D Forums/Blitz3D Programming/return in a for next loop

Me too, I use return to exit the function:
Function ScanTextures()

  for i = 0 to maxtextures
   if texture(i) = 0 then return 0
  next

  .. some other stuff ..

  return 1

End Function

But thanks, so that means I don't have call 'exit' first.