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

omacro doesn't work in .csound6rc #1705

Open
julianbpeterson opened this issue Apr 18, 2023 · 1 comment
Open

omacro doesn't work in .csound6rc #1705

julianbpeterson opened this issue Apr 18, 2023 · 1 comment
Assignees

Comments

@julianbpeterson
Copy link

Defining an omacro
--omacro:FOO=BAR
in csound6rc does not seem to work.

instr 1
printf_i "$FOO \n", 1
endin

will result in
BAR
if the omacro is specified on the command line or in , but when defined in the resource file the result is
$error

@jpffitch
Copy link
Contributor

Yes; this is by design. I have tried allowing macro defnitions in .csoung?rc and it seems to work. I canot remember why that was not allowed. I will seek advice

@jpffitch jpffitch self-assigned this Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants