Megatest

View Ticket
Login
Ticket Hash: 1144efd3b66fb3dfd4632641f1de87561cf0cfdb
Title: Directive and support for localifying vars in a config
Status: Open Type: Feature_Request
Severity: Important Priority:
Subsystem: Resolution:
Last Modified: 2019-07-14 22:48:15
Version Found In: n/a
User Comments:
matt added on 2019-07-15 04:48:15:

Local vars would be very nice to have in configs.

[myvars]
abcd 1234

[configf:settings line-end-comments yes]
[configf:settings use-section myvars]

[somesection]
VAR1 #{abcd}                       # VAR1 will get 1234 for a value
VAR2 #{VAR1}                      # by default a #{...} with no spaces will look up the var in the current section and then the use-section section.