Problem 296 - /command/verbose invalid behavior
Summary: /command/verbose invalid behavior
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: intercoms (show other problems)
Version: 3.2
Hardware: PC Linux
: P2 normal
Assignee: Makoto.Asai
URL:
Depends on:
Blocks:
 
Reported: 2001-08-28 17:31 CEST by marc.kippen
Modified: 2001-09-28 15:04 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.