Ha! I asked the exact same question three weeks ago here:
http://stackoverflow.com/questions/24676146/logolists-inserts-commas-netlogo-java-netlogo

org.nlogo.api.Dump.logoObject(theList)

worked for me.


On Wed, Jul 30, 2014 at 12:04 PM, <[email protected]> wrote:

>   Today's topic summary
>
> Group: http://groups.google.com/group/netlogo-devel/topics
>
>    - LogoList toString <#147883ad0302247d_group_thread_0> [3 Updates]
>
>   LogoList toString
> <http://groups.google.com/group/netlogo-devel/t/3b7bffd0dbab9ecf>
>
>    Corey Brady <[email protected]> Jul 30 09:56AM -0500
>
>    hi all
>
>    i'm working with logo lists through the embedding API, and I am
>    getting a strange behavior with toString ( or, well, an unfavorable
>    behavior at least)
>
>    my context involves passing a list ...more
>    <http://groups.google.com/group/netlogo-devel/msg/bcc497fea1f69004>
>
>    Back to top <#147883ad0302247d_digest_top>
>
>
>    Jason Bertsche <[email protected]> Jul 30 10:20AM -0500
>
>    Generally, using `toString` for serialization is not going to turn out
>    well for you—especially with Java/Scala collections, since it causes
>    truncation when the collection is above a certain ...more
>    <http://groups.google.com/group/netlogo-devel/msg/1d516c4c1b1049c5>
>
>    Back to top <#147883ad0302247d_digest_top>
>
>
>    Nicolas Payette <[email protected]> Jul 30 11:29AM -0400
>
>    I don't know the requirements of `commandLater()`, but wouldn't:
>
>    org.nlogo.api.Dump.list(myLogoList)
>
>    do the trick in this case?
>
>
>    --
>    Nicolas
>
>
>    On Wed, Jul 30, 2014 at 11:20 AM, Jason ...more
>    <http://groups.google.com/group/netlogo-devel/msg/2f76f766f94026ff>
>
>    Back to top <#147883ad0302247d_digest_top>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to