02-06-2023, 09:33 PM
Hello mnrvovrfc ... love this handle ... you said "There's no need for recursion" and "Why do you need a "SEEK" statement"... the point was to change the Do Loop to a Recursive Loop. I agree that Do Loop works well but Recursion appears to have the advantage of avoiding multiple Open and Closing of the same file through out the run of my program so I'm trying to replace the Do Loop with a Recursive routine. I thought only the Seek statement, in a recursive loop, could get me back to the beginning of the file data. Is there another way to move the pointer of the Input statement back to the beginning of the file? Maybe this is the cause of my recursive loop looping only 11 times where it should loop 4000 times. Recursion is limited to 11 times unless that Static statement is used
Thanks for that heads up Terry. Actually both you guys pointed out Static was needed here. I'm back to the drawing board.
Thanks very much for the help.
Thanks for that heads up Terry. Actually both you guys pointed out Static was needed here. I'm back to the drawing board.
Thanks very much for the help.