Use the value of a variable in a string #457
-
I'm back, and once again I'm trying to figure out what WLA's best equivalent is to a feature of RGBDS. My project sprinkles level data throughout the ROM in a very unconventional way, and I have this loop that is supposed to generate it:
The important part here is that the data is spread throughout several sections that are generated in the loop. I understand that the sections need to have unique names, so my goal was to include the row number in the name. With RGBDS, I could use symbol interpolation to accomplish this. How would I do this in WLA? I understand that |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
\@ works only in .MACRO, but you could do something like this:
|
Beta Was this translation helpful? Give feedback.
-
If you now grab the latest sources, you can do a substitution as follows: label_{COUNTER}: |
Beta Was this translation helpful? Give feedback.
\@ works only in .MACRO, but you could do something like this: