Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Macro substitution" can add more? [CORE6514] #6743

Open
firebird-automations opened this issue Mar 11, 2021 · 4 comments
Open

"Macro substitution" can add more? [CORE6514] #6743

firebird-automations opened this issue Mar 11, 2021 · 4 comments

Comments

@firebird-automations
Copy link
Collaborator

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

priority: Major [ 3 ] => Minor [ 4 ]

issuetype: New Feature [ 2 ] => Improvement [ 4 ]

@firebird-automations
Copy link
Collaborator Author

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.

@firebird-automations
Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants