goto gosub ??

Hi at ALL,
can be used and if so, some little line of code, please?
(goto....??
(gosub...??
Tnk1000.
can be used and if so, some little line of code, please?
(goto....??
(gosub...??
Tnk1000.
int i;
for (i=0; i<10; i++)
{
//CreateActor()
}
int i;
beginning:
//CreateActor();
i++;
if (i<10)
{
goto beginning:
}
i=0;