So I want to program a loop that imports frames of an image. I've tried use the While function to accomplish something along the lines of setting a variable equal to 1, importing the first frame, and then changing the variable, stopping when it hits a certain value. I've been trying something like n:=n+1, but something keeps coming up like "the RecursionLimit of 256 has been exceeded." What does this mean, am I missing a key argument? Any help is appreciated!