|
#11
|
||||
|
||||
|
I've a problem. How to fix this?
![]() ![]() Example: Code:
Load.ini [Form] ; Language cache1=En_us ; Position: X cache2=$DeskWidth$ - 95% ; Position: Y cache3=$DeskHeight$ - 90% ; Form Width cache4=450 ; Form Height cache5=450 ; Form Border cache6=no cache7, cache8, ... Code:
Test.iss
{Code]
#define public i
#define public FCacheMax 26
#dim public FCache[5]
#sub CheckFCache
#define FCache[i] ReadIni(AddBackSlash(SourcePath) + "load.ini", "Form", StringChange("cacheInt","Int", Str(i)), "")
#endsub
#if ReadIni(AddBackSlash(SourcePath) + "load.ini", "Form", "cache1", "") != ""
#redim FCache[Int(FCacheMax)]
#for {i = 1; ReadIni(AddBackSlash(SourcePath) + "load.ini", "Form", StringChange("cacheInt","Int", Str(i)), "") !=""; i++} CheckFCache
#endif
function InitializeSetup(): Boolean;
begin
MsgBox('{#FCache[1]}', mbConfirmation, MB_OK);
end;
__________________
- All life is an experiment. The more experiments you make the better. - |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 05:51 |
| INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 06:57 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |