Hello,
-- I am using helios workspace to test some messages on my classes. Is it possible to 'store' a local variable in workspace ? For example, if I 'do it' | x | x:=3. then later, Transcript show: x. I have a error msg that x is undefined. a+ Vicnet You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Hi!
No, it's not currently possible :/ Cheers, Nico Vicnet writes: > Hello, > > I am using helios workspace to test some messages on my classes. > > Is it possible to 'store' a local variable in workspace ? > > For example, if I 'do it' > | x | x:=3. > then later, > Transcript show: x. > I have a error msg that x is undefined. > > a+ > Vicnet -- Nicolas Petton http://nicolas-petton.fr -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Hi Vicnet
you could store the temporary variable asJSONString in localStorage. This works fine for simple variables (e.g. a String). See http://stackoverflow.com/questions/22604341/amber-and-localstorage-asjson For more complex variables the conversion process seems not to be very straightforward. (Answers are welcome, there on stackoverflow or here) --Hannes On 3/26/14, Nicolas Petton <[hidden email]> wrote: > Hi! > > No, it's not currently possible :/ > > Cheers, > Nico > > Vicnet writes: > >> Hello, >> >> I am using helios workspace to test some messages on my classes. >> >> Is it possible to 'store' a local variable in workspace ? >> >> For example, if I 'do it' >> | x | x:=3. >> then later, >> Transcript show: x. >> I have a error msg that x is undefined. >> >> a+ >> Vicnet > > > -- > Nicolas Petton > http://nicolas-petton.fr > > -- > You received this message because you are subscribed to the Google Groups > "amber-lang" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [hidden email]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Hi Vincent,
I often create an App singleton class (that has references to important objects in the rest of the application) with accessors, to access my application from the workspace. You could also put a dictionary into it to store arbitrary objects: Akin: App vars at: 'mine' put: myTemp Transcript show: (App vars at: 'mine' ) HTH, Siemen On 28 Mar 2014, at 20:19, H. Hirzel <[hidden email]> wrote: > Hi Vicnet > > you could store the temporary variable asJSONString in localStorage. > This works fine for simple variables (e.g. a String). > > > See > http://stackoverflow.com/questions/22604341/amber-and-localstorage-asjson > > For more complex variables the conversion process seems not to be very > straightforward. > > (Answers are welcome, there on stackoverflow or here) > > --Hannes > > > > > On 3/26/14, Nicolas Petton <[hidden email]> wrote: >> Hi! >> >> No, it's not currently possible :/ >> >> Cheers, >> Nico >> >> Vicnet writes: >> >>> Hello, >>> >>> I am using helios workspace to test some messages on my classes. >>> >>> Is it possible to 'store' a local variable in workspace ? >>> >>> For example, if I 'do it' >>> | x | x:=3. >>> then later, >>> Transcript show: x. >>> I have a error msg that x is undefined. >>> >>> a+ >>> Vicnet >> >> >> -- >> Nicolas Petton >> http://nicolas-petton.fr >> >> -- >> You received this message because you are subscribed to the Google Groups >> "amber-lang" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [hidden email]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups "amber-lang" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |