Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Configfile include
12-22-2010, 06:45 AM,
#2
 
Quote:curious what this is used for and how it behaves
The idea is to be able to include an already existing config file and override some of its properties or extend it by adding properties and/or sections. It should be equivalent to copy/pasting the content of the included file into the including. Files are only included once. Circular references are ignored. The include path is relative to the including file. There is no way to remove/ignore existing sections/properties.

Quote:"A" in section "1", and the included file has a section "1" with only a setting "B"
You will get
Code:
[1]
A = ...
B = ...
In the LE.car the engine 1zz-fe is included. Engine position is defined/added in LE.car.

You could create a LE1.car by including LE.car and overriding the transmission settings e.g.

Conceptual issue:
If you include the same section twice(the engine) you will end up with a union of both sections.
Reply


Messages In This Thread
Configfile include - by thelusiv - 12-22-2010, 02:35 AM
[No subject] - by NaN - 12-22-2010, 06:45 AM
[No subject] - by thelusiv - 12-22-2010, 10:17 AM
[No subject] - by NaN - 12-22-2010, 11:54 AM
[No subject] - by thelusiv - 12-22-2010, 01:12 PM
[No subject] - by NaN - 12-22-2010, 02:47 PM
[No subject] - by thelusiv - 12-23-2010, 08:40 AM
[No subject] - by NaN - 12-23-2010, 09:08 AM
[No subject] - by thelusiv - 12-23-2010, 11:18 AM
[No subject] - by NaN - 12-23-2010, 12:00 PM
[No subject] - by thelusiv - 12-27-2010, 02:43 AM
[No subject] - by joevenzon_phpbb2_import3 - 12-27-2010, 11:37 AM
[No subject] - by NaN - 12-27-2010, 08:10 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)