dotnet / interactive

.NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTTP kernel variables are not persistent

jonsequitur opened this issue · comments

A variable declared in one cell cannot be used in another.

image

@shyamnamboodiripad how is variable declaration and sharing working in polyglot notebooks for the http kernel?

I ran into this problem today and thought I would share the workaround for it. You can use the #!set magic command to set the variable and it will then be available to later cells.

image