System.SysUtils.TWordBoolHelper.ToInteger
Delphi
function ToInteger: Integer; inline;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas | System.SysUtils | TWordBoolHelper |
Description
Returns an integer representation of a WordBool value.
ToInteger returns 0 if the WordBool value is False. If the WordBool value is True, it returns 1.