diff --git a/example.cfg b/example.cfg index 986b85d..72819c9 100644 --- a/example.cfg +++ b/example.cfg @@ -1,6 +1,6 @@ # A 'tconfpy' Example Configuration File # Copyright 2003-2004 TundraWare Inc. -# $Id: example.cfg,v 1.102 2004/04/21 21:16:04 tundra Exp $ +# $Id: example.cfg,v 1.103 2004/04/29 17:17:50 tundra Exp $ # # This is designed to illustrate the various features # of the 'tconfpy' configuration language. @@ -75,7 +75,9 @@ .ifall $USER bar # Both environment variable 'USER' and variable 'bar' must # Exist for this to be true - ifall = True # Notice you cannot use variable 'IFALL' - it is predefines as Read Only + ifall = True # Notice you cannot use variable 'IFALL' - it is predefined as + # an internal variable for one of the reserved words + # and is marked as Read Only .else # If either or both did not exist - this is optional @@ -101,7 +103,7 @@ # Logical NOR .ifnone $USER bar # Neither environment variable 'USER' or variable - # 'bar' must exist for this to be true + # 'bar' may exist for this to be true ifnone = TRUE @@ -196,7 +198,11 @@ # You can make this fail if you supply 'test-tc.py' the 'limitns' option -[XYZ] # Error: Namespaces are limited to strings starting with 'NS' +[XYZ] # Error: the 'limitns' option requires namespaces to begin with 'NS'. + # Notice that this is just a test driver feature to help you learn + # 'tconfpy'. You can place any limits you like on namespace formation + # in your own programs. + [] # But this always works because the root namespace is always legal