# Problem loading variables from INI file in .1005 (Delphi 10 Seattle preliminary version)

**URL:** https://www.finalbuilder.com/forums/t/problem-loading-variables-from-ini-file-in-1005-delphi-10-seattle-preliminary-version/3585
**Category:** Bugs
**Created:** [September 1, 2015, 3:11am UTC](https://www.finalbuilder.com/forums/t/problem-loading-variables-from-ini-file-in-1005-delphi-10-seattle-preliminary-version/3585 "2015-09-01T03:11:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ebakkest](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/278dde/32.png) [@ebakkest](https://www.finalbuilder.com/forums/u/ebakkest)
#### Post date: [September 1, 2015, 3:11am UTC](https://www.finalbuilder.com/forums/t/problem-loading-variables-from-ini-file-in-1005-delphi-10-seattle-preliminary-version/3585/1 "2015-09-01T03:11:55Z")

</div>

I load a bunch of variables from an INI file at build start. This used to work in previous updates?  
  
If I uncheck the failing (which is also the first) variable from the list, it errors on the new first variable in the list. The file exists; it does contain the variable names in question. Has anything changed in FB?  
  
error:  
Loading variables from INI file: D:\Delphi\3p\NexusDB3Build\settings.ini  
Error setting variable BackupDirectory  
  
File contents:  
  
[FBVariables]  
BackupDirectory=\myserver\x\NexusDB Test  
BaseFTPDir=/  
Build2005=False  
etc

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [September 2, 2015, 12:16pm UTC](https://www.finalbuilder.com/forums/t/problem-loading-variables-from-ini-file-in-1005-delphi-10-seattle-preliminary-version/3585/2 "2015-09-02T12:16:31Z")

</div>

Are the variables actually defined in the project? Will test this when I get to the office. We’ve been doing a lot of work on variables over the last few days, finding things that worked more by accident than design in FB7 that we did not account for with the FB8 parser.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [September 2, 2015, 1:43am UTC](https://www.finalbuilder.com/forums/t/problem-loading-variables-from-ini-file-in-1005-delphi-10-seattle-preliminary-version/3585/3 "2015-09-02T01:43:01Z")

</div>

It’s a regression bug introduced about 5 minutes before I uploaded that build last night while fixing another bug. Will upload another build shortly.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [September 2, 2015, 2:07am UTC](https://www.finalbuilder.com/forums/t/problem-loading-variables-from-ini-file-in-1005-delphi-10-seattle-preliminary-version/3585/4 "2015-09-02T02:07:53Z")

</div>

This build should fix it :   
 [http://downloads.finalbuilder.com/downloads/finalbuilder/800/FB800\_1007.exe](http://downloads.finalbuilder.com/downloads/finalbuilder/800/FB800_1007.exe)   
 We’re still testing some changes to the expression parser/evaluator and hope to have an official update out later today.

---

<div class="post-metadata">

### Author: ![ebakkest](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/278dde/32.png) [@ebakkest](https://www.finalbuilder.com/forums/u/ebakkest)
#### Post date: [September 2, 2015, 4:51am UTC](https://www.finalbuilder.com/forums/t/problem-loading-variables-from-ini-file-in-1005-delphi-10-seattle-preliminary-version/3585/5 "2015-09-02T04:51:02Z")

</div>

Thanks, this gets me past the loading of INI variables.
