Problem 296

Summary: /command/verbose invalid behavior
Product: Geant4 Reporter: marc.kippen
Component: intercomsAssignee: Makoto.Asai
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 3.2   
Hardware: PC   
OS: Linux   

Description marc.kippen 2001-08-28 17:31:46 CEST
According to the help text in the user interface, the /control/verbose
flag is supposed to behave as:

Applied command will also be shown on screen.
This command is useful with MACRO file.
  0 : silent
  1 : only the valid commands are shown.
  2 : comment lines are also shown (default).
 Range of parameters : switch >= 0 && switch <=2

This is not the case, so please change G4UIbatch.cc as follows:

Line
----
70      if( commandLine[0] != '#' )
71      { UImanager->ApplyCommand(commandLine); }
72      else
new	  { if (UImanager->GetVerboseLevel() == 2)
new	    G4cout << commandLine << G4endl; }

-eof-
Comment 1 Makoto.Asai 2001-09-28 15:04:59 CEST
Thanks for the report.
The fix will be included in the next release in December.