[Glass] storeString bug?
Sebastian Heidbrink
sebastian_heidbrink at yahoo.de
Thu Jan 16 14:55:26 PST 2014
Hi Dale,
just inspect the following snippet and check the last line of the
storeString
| dict |
dict := Dictionary new.
1 to: 10000 do:[: each | dict at: each asString put: each].
dict storeString
Sebastian
Am 16.01.2014 14:25, schrieb Dale Henrichs:
> Could you provide the expression that you used to produce the output.
> When I used passivate:
>
> | str |
> str := WriteStream on: String new.
> PassiveObject passivate: #(1 2 3) toStream: str.
> {(str contents).
> ((PassiveObject newWithContents: str contents) activate)}
>
> I didn't get the same output as you.
>
> Dale
>
>
> On Thu, Jan 16, 2014 at 12:34 PM, Sebastian Heidbrink
> <sebastian_heidbrink at yahoo.de <mailto:sebastian_heidbrink at yahoo.de>>
> wrote:
>
> Hi!
>
> I just tried to store some of my complex UserGLobals in a storeString.
>
> The output looks like this:
> (PassiveObject newWithContents: (String new addAll:
> '^610^RcIdentityBag(967 /"" ....... '; yourself $) activate
>
> but
>
> (PassiveObject newWithContents: (String new addAll:
> '^610^RcIdentityBag(967 /"" ....... '; yourself )) activate
>
> is right.
>
> The difference is "))" instead of "$)" in the end.
>
> Cheers!
> Sebastian
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com <mailto:Glass at lists.gemtalksystems.com>
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20140116/b80538b9/attachment.html>
More information about the Glass
mailing list