using the Do While function

CODE:

Do While FileName > 0

END CODE

Gets hung up and needs to debug, I dont understandt why