Closed AnotherCodeArtist closed 1 year ago
You are right! Everything after %%
is moved inside a func main() { ... }
with each line indented ...
So short-term solutions:
%%
and create your own func main() {...}
for your particular cell.result := ...
to a global variable, if you don't mind it being around for the other cells.Longer-term solution:
%%
? It should be simple enough ... but I wonder ...Any thoughts ?
Hi Jan!
Since the solution is just about using func main()
explicitly that's absolutely fine with me.
I'll leave it as is for now then.
Hi Jan!
Looks like your are using some code beautifier behind the scenes? This has some unwanted aspects on raw strings. Here's an example:
This produces:
Any idea how to fix this?