The clocking mechanism cannot be replaced by a for/while loop because within a loop the EDEN interpreter will not accept any user input. So the user cannot interact with the simulation.