include "../../logf1.include";
include "../../exit.include";
include "../../var.include";

system:
{
	logf1 logfile( 0, "mytest", "Count %s" );
	logf1 printtime( 0, "test", "Time %s" );
	exit myexit();
	var mycount( 0 );
	
	proc main 100
	{
	   logfile( 5, mycount);
	   mycount = mycount + 1;
	   if( mycount > 5 )
		myexit( 0 );
	   endif;
        }
}