--
---
You received this message because you are subscribed to the Google Groups "Skulpt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skulpt+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Is there a way to set a global variable to some global object and get its value in subsequent runs, in the sam browser instance?
On Wed, 24 Aug 2016 at 19:08 Brad Miller <mill...@luther.edu> wrote:
Skulpt is not designed to remember things from previous runs. If you want it to know about foo in another run then you will need to include that in the code you hand over to importMainWithBody.Bradley Miller, PhD
Professor, Dept. Chair, Computer Science
Luther College
Founder, Runestone Interactive
Blog: A Reputable Journal
On Wed, Aug 24, 2016 at 6:18 AM, Yehonathan Sharvit <vie...@gmail.com> wrote:
Could anybody help me on this issue?--
On Sunday, 14 August 2016 14:22:17 UTC+3, Yehonathan Sharvit wrote:What is the simplest way to eval python code in the browser with Skulpt?I'd like to evaluate subsequent python code snippets and I need the function defined in a snippet to be accessible by subsequent snippets.For instance:snippet 1:foo = lambda n: n + 2print(foo(3))snippet 2:print(foo(5))
---
You received this message because you are subscribed to the Google Groups "Skulpt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skulpt+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "Skulpt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skulpt+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to skulpt+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "Skulpt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skulpt+un...@googlegroups.com.