PDA

View Full Version : Complier directive #get ini does not use default value if specified ini file does not



NewsArchive
02-25-2010, 02:36 AM
Hi Friedrich,

me again :-)

The complier directive "#get ini" does not use default value if
specified ini file does not exist. Instead it writes -1 to the specified
compiler variable.

Markus

NewsArchive
02-25-2010, 02:36 AM
Markus,

> me again :-)
>
> The complier directive "#get ini" does not use default value if specified
> ini file does not exist. Instead it writes -1 to the specified compiler
> variable.

Yes, this is by design :-) All three "get" compiler directives return "-1"
if the file or registry information can't be found.

But it's inconsistent. #get ini and #get registry should really return the
default value in this case. We'll change this.

Thanks,
Friedrich

NewsArchive
02-26-2010, 03:08 AM
Test: OK

Markus Zander

NewsArchive
02-26-2010, 03:08 AM
>
> Test: OK
>

Thank you!!!

Friedrich