Inno Setup: Iterate through array of type Variant (from OleObject)

后端 未结 2 2029
长发绾君心
长发绾君心 2020-12-18 16:15

I\'m trying to read and write to the IIS 6 metabase using Inno Setup.
I can\'t figure out how to access arrays though.



        
2条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-18 16:46

    Inno does not provide full Delphi support, as far as I remember the scripting language is based on Free Pascal.

    Try the following:

     for I := 0 to  GetArrayLength(myArray) - 1 do
      begin
         //stuff
      end;   
    

提交回复
热议问题