Open firebird-automations opened 3 years ago
Commented by: @AlexPeshkoff
Ability of adding user-defined macros may be useful. But better syntax is needed - imagine (with initial example) that we add new config parameter dir_Pro_IV in next version.
Commented by: freeman35 (freeman35)
"But better syntax is needed " Can be define variable style, like in php. start with "$" symbol and / or value be in double queto
$Pro_IV = "C:\project\A_4"
Best regards.
Submitted by: freeman35 (freeman35)
Hi, In firebird.conf "Macro substitution" can add more? dir_Pro_I = C:\project\A_1 dir_Pro_II = C:\project\A_2 dir_Pro_IV=C:\project\A_4 etc so can use in database.conf my_db_I = $(dir_Pro_I)/pr_2021.fdb my_db_II = $(dir_Pro_II)/pr_II_abc.fdb regards