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