Changeset 1222 for trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/GettingStarted/executeProgram.xml
- Timestamp:
- Dec 16, 2009, 12:14:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/GettingStarted/executeProgram.xml
r904 r1222 8 8 <!-- Proof read by: Joe Chuma, 15-Jun-1999 --> 9 9 <!-- Converted to DocBook: Katsuya Amako, Aug-2006 --> 10 <!-- Updated by : Koichi Murakami, Dec-2009 --> 10 11 <!-- --> 11 12 <!-- ******************************************************** --> … … 375 376 <para> 376 377 Most 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. 378 have the following <literal>main()</literal>. 379 The application can be run either in batch or interactive mode. 380 380 381 381 <example id="programlist_HowToExec_5"> … … 411 411 if (argc==1) // Define UI terminal for interactive mode 412 412 { 413 G4UI session * session = new G4UIterminal;413 G4UIExecutive* session = new G4UIExecutive(argc, argv); 414 414 UI->ApplyCommand("/control/execute prerunN03.mac"); 415 415 session->SessionStart();
Note: See TracChangeset
for help on using the changeset viewer.