I want to declare an array of \"jumplabels\".
Then I want to jump to a \"jumplabel\" in this array.
But I have not any idea how to do this.
It should
goto
needs a compile-time label.
From this example it seems that you are implementing some kind of state machine. Most commonly they are implemented as a switch-case construct:
while (!finished) switch (state) {
case s0:
/* ... */
state = newstate;
break;
/* ... */
}
If you need it to be more dynamic, use an array of function pointers.