Save to CSV - GAMA notation for linetermination?

18 views
Skip to first unread message

Sonja Holler

unread,
Feb 15, 2020, 9:11:12 AM2/15/20
to GAMA
Hi everyone,

I do not find a GAMA reference how to end a line when writing to CSV, so that the next line/value is written underneath and not besides in a column.

I tried '\n' in stead of ',' but GAMA doesn't recognize it (or maybe "save [] type:csv ..." is not complete?). In the documentation I did not find anything regarding linetermination.

What must I use/do?

Best,

Sonja

Benoit Gaudou

unread,
Feb 15, 2020, 10:52:21 AM2/15/20
to gama-p...@googlegroups.com
Hi,

Each call to the save statement will make an end of line.
So you could use two/several times the statement save.

Cheers

Benoit

--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platfor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gama-platform/1b5be32a-dd5c-4d88-8f4c-8b2e0b503809%40googlegroups.com.

Sonja Holler

unread,
Feb 16, 2020, 8:03:49 AM2/16/20
to gama-p...@googlegroups.com
Ah, okay, thank you!

Reply all
Reply to author
Forward
0 new messages