void runWhileEntity(ENTITY** inLight)
{
while(*inLight != NULL)
{
*inLight.x += time_step;
my_temp[0] = *inLight.x;
}
beep();
beep();
beep();
}
void main()
{
set(deb_pan,SHOW);
level_load(NULL);
wait(3);
ENTITY* theEnt;
theEnt = ent_create(NULL,nullvector,NULL);
runWhileEntity(&theEnt);
while(key_t == OFF) wait(1);
ent_remove(theEnt);
theEnt = NULL;
}