Do you mean you want it to keep looping until the user stops it? If so, just put your code inside a while or for loop.
The following will cause an infinite loop, so the user has to kill the program to stop it. It's a bit nasty doing things this way, but it demonstrates the principle nicely.
Or, do you mean the third function is not executed? You do realise that you have the brackets missing from it:
x = 1;
while (x == 1)
>target; /*reads third line*/
>target(); /*reads third line*/