In Befunge-98, the k
operator allows me to do this
1k12....@
The output of this will be 2110
. I am looking for a (short) way to iterate multiple instructions, e.g. I want the output to be 2121
– as if the k
operator iterated 12
twice, not just the 1
.
Is there any way to get the k
operator to do this? If not, what would be the shortest way to repeat a sequence n
times – without using p
, g
and _
or |
?