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
Improve macro parameter handling #15
Comments
Use case... creating lo/hi tables using just the single 'definition'...
|
Well maybe not a use-case for strings, per se. |
Dammit, that actually works already. |
What did you expect not to work here? |
Did you know if you pass a parameter as an actual quoted string, then it does not get evaluated?
if you call this with
Then the output will be If you call this with
Then the output will be The point being, if you quote the parameter as a quoted string, then you can treat it as a string. This may be obvious...? But in any case, I use this in macros to assign the STRING to a label, and then use that (stirng) label later on for something else (for example, to print diagnostics/stats about the assembly). |
Currently parameters are passed as strings without any option to operate on them. The following enhancements would be very useful:
The text was updated successfully, but these errors were encountered: