[英]Inno Setup Pascal Script documentation
Pascal 腳本語法非常接近 Pascal/Delphi 語法,因此您在Delphi DocWiki和Free pascal 文檔中有很多關於它的文檔。
我所知道的關於 inno-setup 特定 pascal 腳本函數支持的最好地方是 Inno Setup 幫助文件中的 PascalScript 部分,最相關的部分是:
至於你的最后一個問題,看看這個:
var
DocPath: string;
DirPath: string;
begin
DocPath := ExpandConstant('{userdocs}');
DirPath := DocPath + '\ISTest';
if not DirExists(DirPath) then
begin
if not CreateDir(DirPath) then
MsgBox(SysErrorMessage(DLLGetLastError), mbError, mb_Ok);
end;
end;
我在哪里學的? 我是一個Delphi開發者,pascal script的目的是為了貼近Delphi,所以我覺得我真的是學Delphi才學會的。 如今,在查看文檔之前,我嘗試做我想做的Delphi ,如果我不這樣做,我會求助於文檔作為最后的資源。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.