Loop Question

Do loops take 1 frame for each time that runs through the loop? Ie if I have my framerate set at 48 and a loop saying:


	for (i=0; i<=48; i++) {
		if (i == 48) {
			refreshFunction();
		}
	}

would that make it run the refreshFunction() 48 frames (one second) after the loop started?

i need this to delay the refreshFunction() just a bit so that I’m sure it’s done sending before it refreshes the a text file.