Closed prostolyubo closed 1 year ago
Thanks for the bug report. Yes, it should work to specify units for a combined assignment-query. I'm not able to reproduce the issue on my end (see the screenshot below). Here's a link to a sheet where it's working. Could you share a link to a sheet where you're able to reproduce this issue?
I already modified the file to remove the broken sentence. Now I tried rewriting it and it indeed works. I am really sorry, perhaps there was something else in the equation that broke it and made me think this is impossible.
Thanks for the update. No problem, it makes sense that this could be confused since the "Syntax Error" error message is kind of a catch all that can have many causes.
Let's assume:
a = 5 [mm]
b = 2 [mm]
This does work:test = a + b =
This does not work:test = a + b = [mm]
As a user' I would like to be able to specify the result units of equation inline instead of writing two separate lines of code:
test = a + b
test = [mm]