Hey guys,

is there a way to waiting for the returned value of a function?

For example:

Code:
function test()
{
   //some code here
   ...

   return 1;
}


function start()
{
   while(test() == 0) //how can i wait for the end of the "test" function?
   {
      wait(1);
   }
}


Can someone help?

Regards, DF


Errors are the engine of progress.

Version: A8 Commercial
OS: Win 7 64bit
Models: Cinema 4D