delphi BoolToStr函数使用
2021-04-07 21:27
标签:als lse show button color roc for pre orm delphi BoolToStr函数使用 标签:als lse show button color roc for pre orm 原文地址:https://www.cnblogs.com/yangxuming/p/9100799.htmlprocedure TForm1.Button1Click(Sender: TObject);
var
b: Boolean;
s: string;
begin
b := True;
s := BoolToStr(b);
ShowMessage(s); {-1}
b := False;
s := BoolToStr(b);
ShowMessage(s); {0}
b := True;
s := BoolToStr(b, True);
ShowMessage(s); {True}
b := False;
s := BoolToStr(b, True);
ShowMessage(s); {False}
end;
下一篇:WinCC报表控件
文章标题:delphi BoolToStr函数使用
文章链接:http://soscw.com/index.php/essay/72572.html