That is an invalid used of the STRING* type.
INSIDE a function you MUST use ent_create.
Tyr this instead.

Code:
void return_number(var number)
{
   STRING* tt = str_create("");
   str_for_num(tt, number);
   while(1)
   {
      error(tt); 
      wait(1);
   }
   str_remove(tt);
}



"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial