Friday, November 2, 2012

System out using Debug level




import lrapi.lr;

public class Actions
{

public int init() throws Throwable {

   int debugLvl=0;
   String StrdebugLvl = null;
   String argument = null;
   StrdebugLvl = lr.eval_string("<debugLevel>");
   debugLvl = Integer.parseInt(StrdebugLvl.trim());


   argument = lr.get_attrib_string("sunArgs");
   System.out.println("SunArgs: "+argument);
            System.out.println("SunArgs:"+ lr.get_attrib_string("sunArgs"));

           
return 0;
}//end of init


public int action() throws Throwable {

return 0;
}//end of action


public int end() throws Throwable {
return 0;
}//end of end
}

No comments:

Post a Comment