---------------------------------------------------------------------------
| 236 | } |
| 237 | //--------------------------------------------------------------------------- |
| 238 | bool __fastcall TFile::SetEnd(void) |
| 239 | { |
| 240 | if( ! handle ) return false; |
| 241 | LastError = 0; |
| 242 | Error = ! SetEndOfFile( handle ); |
| 243 | if( Error ) LastError = GetLastError(); |
| 244 | if( Exceptions && Error ) throw 0; |
| 245 | return ! Error; |
| 246 | } |
| 247 | //--------------------------------------------------------------------------- |
| 248 | bool __fastcall TFile::WriteString(char * string) |
| 249 | { |
nothing calls this directly
no outgoing calls
no test coverage detected