diff --git a/example.cfg b/example.cfg index 96ee9f4..6717d76 100644 --- a/example.cfg +++ b/example.cfg @@ -1,6 +1,6 @@ # A 'tconfpy' Example Configuration File # Copyright 2003-2005 TundraWare Inc. -# $Id: example.cfg,v 1.107 2005/01/14 09:53:18 tundra Exp $ +# $Id: example.cfg,v 1.108 2005/01/14 10:21:13 tundra Exp $ # # This is designed to illustrate the various features # of the 'tconfpy' configuration language. @@ -268,14 +268,19 @@ .ifany [bool1] - bool1was True + bool1was=True .else - bool1was False + bool1was=False .endif # This only works *within existential tests* (.ifany, .ifall, .ifnone). # Everywhere else, [BoolVar] will return one of the strings, 'True' or 'False'. +# You can also mix and match boolean state tests and regular existentials: + +.ifnone [bool1] variable1 [str1] .... + # something +.endif \ No newline at end of file