1) Give a description of the problem
Without posting the whole mess here, I’m trying to generate some weather forecast slides with the daily High and Low temps in the Title. I’ve tried doing this with expressions and variables, but have run into some issues that I wonder are caused by syntax or just a ‘no, you can’t do that’.
First, I tried joining text after the result of an expression, but it doesn’t work:
arrayItem(ActiveIndex,Highs) + ‘text’ —> this only returns the variable and doesn’t append anything to it. Is there a way to append text and/or more expressions to this?
Second, I tried just pulling the results from the weather module, but it didn’t like math in the index. Is there a way to do this?
’:wu-v3-{$weather.forecast10day.forecast.simpleforecast.forecastday[ActiveIndex-1].icon}:’
In the above example, just using “ActiveIndex” works… it’s the math function that sends it out in the weeds. I’ve tried enclosing it in parentheses and curly brackets, but neither of those work either.
I can find workarounds to either one of these, but if there is a way to make these work, it’d streamline some of my pistons. Just trying to figure out if it’s a webCoRE limitation or a me limitation!
Thanks!