Changeset 1032 for trunk/source/interfaces/basic/src
- Timestamp:
- May 6, 2009, 5:55:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/interfaces/basic/src/G4VUIshell.cc
r1027 r1032 149 149 ////////////////////////////////////////////////////////////////////// 150 150 { 151 printf("G4VUIshell::GetAbsCommandDirPath %s\n",apath.c_str());152 151 if(apath.empty()) return apath; // null string 153 152 … … 158 157 159 158 // parsing... 160 printf("G4VUIshell::GetAbsCommandDirPath bpath %s\n",bpath.c_str());161 159 G4String absPath= "/"; 162 printf("G4VUIshell::GetAbsCommandDirPath num %d \n",G4int(bpath.length())-1);163 160 for(G4int indx=1; indx<=G4int(bpath.length())-1; ) { 164 printf("G4VUIshell::GetAbsCommandDirPath for %d/%d \n",indx,G4int(bpath.length())-1);165 161 G4int jslash= bpath.index("/", indx); // search index begin with "/" 166 162 if(jslash != G4int(G4String::npos)) { … … 181 177 indx= jslash+1; 182 178 } 183 printf("G4VUIshell::GetAbsCommandDirPath RETURN %s\n",absPath.c_str());184 179 return absPath; 185 180 }
Note: See TracChangeset
for help on using the changeset viewer.