title: CAPL program in CANanalyzer 7.0 tool
body: <pre><code>/*@@var:*/
  variables
  {
  
  int a,b;
  mstimer ramky;
  }
  /*@@end*/
  
  /*@@startStart:Start:*/
  on start
  { settimer (ramky,500);
  }
  /*@@end*/
  
  /*@@timer:ramky:*/
  on timer ramky
  {
  
  write("timer was started");
  }
  /*@@end*/
  
  /*@@key:'a':*/
  on key 'a'
  {
  write("hey u have pressed the key a");
  a=5;
  b=51;
  check();
  }
  /*@@end*/
  
  /*@@caplFunc:check():*///function
  check ()
  {
  for(;a&lt;=50;a++)
  write("a=%d b=%d",a,b);
  write("a=%d b=%d",a,b);
  //again();
  
  }
  /*@@end*/
  
  /*@@caplFunc:again():*///function
  again ()
  {
  while(a==b)
  write(" and b are same");
  }
  /*@@end*/
  </code></pre>
  
  <p>this is the program in executed in the <code>CANanlyzer 7.0</code> tool then my output was none and my pc was hanging so I want to know what will the reason for not giving the output?
  Is there any problem with in the program?</p>