QUOTE
My idea about this was something like DefaultTest = <expression> which will be used for each entries below this expression until DefaultTest is changed or an empty value (DefaultTest=) is specified.
This should be quite limitative.
The way I would like to be abble to use the tests is starting with this example:
CODE
[Tools]
test.0 = test 0
test.1 = test 1
test.eval = 0 & 1
disabled = if.false
description.0 = App 0
command.0 = Cmd 0
test.0.0 = test 0
test.eval.0 = 0
selected.0 = if.true
disabled.0 = if.false
description.1 = App 1
command.1 = Cmd 1
test.1.0 = test 1
test.eval.1 = 0
selected.1 = if.true
disabled.1 = if.false
So something like this could be usefull
CODE
[Tools]
TestA = 1st test
TestB = 2nd test
test.eval = TestA & TestB
disabled = if.false
description.0 = App 0
command.0 = Cmd 0
test.eval.0 = TestA
selected.0 = if.true
disabled.0 = if.false
description.1 = App 1
command.1 = Cmd 1
test.eval.1 = TestB
selected.1 = if.true
disabled.1 = if.false
A little bit like you use general vars.
I don't have my ini file with me so I can't give a more detailed example, hope it's clear enought