Changeset 556 for Common/UCommon.pas
- Timestamp:
- Feb 10, 2022, 11:56:40 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/UCommon.pas
r555 r556 68 68 function OccurenceOfChar(What: Char; Where: string): Integer; 69 69 procedure OpenWebPage(URL: string); 70 procedure OpenEmail(Email: string); 70 71 procedure OpenFileInShell(FileName: string); 71 72 function PosFromIndex(SubStr: string; Text: string; … … 83 84 function SplitString(var Text: string; Count: Word): string; 84 85 function StripTags(const S: string): string; 85 function TryHexToInt(Data: string; varValue: Integer): Boolean;86 function TryBinToInt(Data: string; varValue: Integer): Boolean;86 function TryHexToInt(Data: string; out Value: Integer): Boolean; 87 function TryBinToInt(Data: string; out Value: Integer): Boolean; 87 88 procedure SortStrings(Strings: TStrings); 88 89 … … 246 247 end; 247 248 248 function TryHexToInt(Data: string; varValue: Integer): Boolean;249 function TryHexToInt(Data: string; out Value: Integer): Boolean; 249 250 var 250 251 I: Integer; … … 262 263 end; 263 264 264 function TryBinToInt(Data: string; varValue: Integer): Boolean;265 function TryBinToInt(Data: string; out Value: Integer): Boolean; 265 266 var 266 267 I: Integer; … … 473 474 begin 474 475 OpenURL(URL); 476 end; 477 478 procedure OpenEmail(Email: string); 479 begin 480 OpenURL('mailto:' + Email); 475 481 end; 476 482
Note:
See TracChangeset
for help on using the changeset viewer.