Changeset 375 for trunk/GameServer.pas
- Timestamp:
- Apr 24, 2021, 1:51:40 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GameServer.pas
r367 r375 4495 4495 end; { <<<server } 4496 4496 4497 function ExtractFileNameWithoutExt(const Filename: string): string;4498 var4499 P: Integer;4500 begin4501 Result := Filename;4502 P := Length(Result);4503 while P > 0 do begin4504 case Result[P] of4505 PathDelim: Exit;4506 {$ifdef windows}4507 '/': if ('/' in AllowDirectorySeparators) then Exit;4508 {$endif}4509 '.': Exit(Copy(Result, 1, P - 1));4510 end;4511 Dec(P);4512 end;4513 end;4514 4515 4497 4516 4498 initialization
Note:
See TracChangeset
for help on using the changeset viewer.