Ignore:
Timestamp:
Dec 16, 2009, 12:14:47 PM (15 years ago)
Author:
garnier
Message:

CVS update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/GettingStarted/executeProgram.xml

    r904 r1222  
    88<!--    Proof read by: Joe Chuma,  15-Jun-1999                -->
    99<!--    Converted to DocBook: Katsuya Amako, Aug-2006         -->
     10<!--    Updated by : Koichi Murakami, Dec-2009                -->
    1011<!--                                                          -->
    1112<!-- ******************************************************** -->
     
    375376<para>
    376377Most of the examples in the <literal>$G4INSTALL/examples/</literal> directory
    377 have the following <literal>main()</literal>, which covers cases 2 and 3
    378 above. Thus, the application can be run either in batch or
    379 interactive mode.
     378have the following <literal>main()</literal>.
     379The application can be run either in batch or interactive mode.
    380380
    381381<example id="programlist_HowToExec_5">
     
    411411  if (argc==1)   // Define UI terminal for interactive mode 
    412412    {
    413      G4UIsession * session = new G4UIterminal;
     413     G4UIExecutive* session = new G4UIExecutive(argc, argv);
    414414     UI-&gt;ApplyCommand("/control/execute prerunN03.mac");   
    415415     session-&gt;SessionStart();
Note: See TracChangeset for help on using the changeset viewer.