Returning to the unused local variables issue. Have found that Lazarus 1.8 has a great feature of underlining any unused local variables in the method's declaration section so you dont have to searc through the messages log. Would be great if Delphi did this too - well after they fix the squiggly red line problem....