-
Notifications
You must be signed in to change notification settings - Fork 55
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
Add expression to concatenate strings #246
Comments
"research" note for myself: the Lua For the record, Lua syntax/priorities: print (#"hello") -- 5
print (#"he" .. "llo") -- 2llo
print (#("he" .. "llo")) -- 5 And remember that string parser for DB vs SAVExxx directives is different, so ".." would have to be evaluated at least at two places (hopefully it could at least share code somehow?) |
I second vmorilla demand. When I have to do string concat., I make a LUA script, which is overkill in most situations. |
one more note: consider having also Or maybe put the Another option is to use CPP syntax I guess if the substitution operator happens, the best bet is So the old substitution rule would be nicely complemented and extended by new operator:
EDIT: |
sjasmplus does not seem to allow expressions involving strings, more specifically, the concatenation.
In my case, I am trying to produce output files with a different name that depend on an environment variable to control some localization outputs. So far, I am doing something like this:
which is quite cumbersome. Rather than that, I would like to do something like this:
Suggested solution:
where '+' (or any alternative operator) produces the concatenation of two strings.
Thanks!
The text was updated successfully, but these errors were encountered: