You've already forked lazarus-ccr
RxFPC:new function - rxIsValueInteger
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6761 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -100,6 +100,7 @@ procedure InitRxLogs;
|
||||
function RxGetKeyboardLayoutName:string;
|
||||
|
||||
function RxMessageBeep(AStyle:TRxMsgBeepStyle):boolean;
|
||||
function rxIsValueInteger(AValue:string):boolean;
|
||||
|
||||
implementation
|
||||
uses
|
||||
@ -318,6 +319,15 @@ begin
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
function rxIsValueInteger(AValue: string): boolean;
|
||||
var
|
||||
V:Int64;
|
||||
C:integer;
|
||||
begin
|
||||
Val(AValue, V, C);
|
||||
Result:=C = 0;
|
||||
end;
|
||||
|
||||
|
||||
function GetDefaultSection(Component: TComponent): string;
|
||||
var
|
||||
|
Reference in New Issue
Block a user