On Sat, 2014-10-11 at 10:31 +0300, Oren Hurvitz wrote:
> Sound like a good idea. But I would prefer to see a simpler syntax:
> just ${BaseURL} (i.e., remove "Const|"). That's a syntax that is
> commonly used in many programming languages and template systems, and
> it makes the config files more readable.
> 
> 
> Oren

The "Const" is not needed if the value is used inside the section that
it is used in. The syntax is part of Nini and the feature has always
been part of that package. We just never had our code setup to use it.
Nini does not know about global key/value pairs, but compartmentalizes
all keys inside sections. Then they provide the${Section|Key} syntax to
allow us to to use values from any other defined section.

Thanks,
BlueWall 


_______________________________________________
Opensim-dev mailing list
[email protected]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev

Reply via email to