diff --git a/WHATSNEW.txt b/WHATSNEW.txt index 667d07b..530590b 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -45,6 +45,33 @@ program assumes the list contains configuration statements. If it is of any other type, the program declares an error. +- Added the ability to test the *state* of boolean variables in the + existential conditionials (.ifall/any/none). Previous versions of + 'tconfpy' could only do this with an explict test like: + + .if BooleanVar == True + + It is now additionally possible to do logical testing like this: + + .ifall [BooleanVar1] [BooleanVar2] ... + + Previously, this would have amounted to '.ifall True False ...' + which likely would fail since the variables 'True' and 'False' + would not be defined. + + As of this release, the semantics in the specific instance of + boolean dereferences during (any of) the existential conditional + tests have changed. In this case the logical *state* of the + variables being tested is returned. This is believed to be clearer + than doing explicit equality tests on booleans (though that ability + is still supported). + + Note that the following construct continues to work as before: + + .ifall BooleanVar1 BooleanVar2 ... + + This tests to see if the variables actually *exist*. + WHATSNEW For 'tconfpy' 1.185 (Sun May 2 03:07:05 CDT 2004) ----------------------------------------------------------------------