System.SysUtils.TBooleanHelper.ToInteger
Delphi
function ToInteger: Integer; inline;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.SysUtils.pas | System.SysUtils | TBooleanHelper |
説明
Boolean 値の整数表現を返します。
ToInteger は、Boolean 値が False の場合には、0 を返します。 Boolean 値が True の場合には、1 を返します。