検証条件
Inno Setup Ver5.6.1
変数をデバッグ画面に表示する
var
str: string;
begin
Log(str);
end;
BooleanをStringにする
//ブーリアンを出力する関数を定義
function BoolToStr(Value: Boolean): String;
begin
if Value then
Result := 'True';
else
Result := 'False';
end;
function isFileExist():Boolean;
begin
Result := FileExists( ExpandConstant('{app}\file.txt') );
Log(BoolToStr(Result));
end;
IntをStringにする
//function IntToStr(i: Int64): String;
var
Value: Integer;
begin
Log(IntToStr(Value));
FloatをStringにする
function FloatToStr(e: extended): String;
公式ヘルプ
http://www.jrsoftware.org/ishelp/index.php?topic=scriptcreating