System.SysUtils.TLongBoolHelper.ToInteger

提供:RAD Studio API Documentation

Delphi

function ToInteger: Integer; inline;

プロパティ

種類 可視性 ソース ユニット
function public System.SysUtils.pas System.SysUtils TLongBoolHelper

説明

LongBool 値の整数表現を返します。

ToInteger は、LongBool 値が False の場合には、0 を返します。 LongBool 値が True の場合には、1 を返します。

関連項目