The technique of using arrows to change control flow is demonstrated in the random number generator program below. The Befunge instruction pointer begins in the upper left corner and will travel to the right if not redirected. Following the arrows around, the codice_2 instructions send the instruction pointer in random cardinal directions until the pointer hits a digit, pushing it to the stack. Then the arrows navigate to the codice_3 to output the digit from the stack and return the pointer to the first directional randomiser. There is no codice_4 to terminate this program, so it produces an endless stream of random numbers from 1 to 9.