Post entire Array without trailing off with "...etc..."

Hi all,

I want to save an Array of randomly generated values for use again later. If I use

(
~vitalenvsSaved = File("/Users/Boris/Desktop/VitalEnvsSaved.txt".standardizePath, "w");
~vitalenvsSaved.write(~vitalenvs.asString);
~vitalenvsSaved.close
)

I end up with the same text I see in the post window, which is the beginning of the Array and then “…etc…”. How can I save the entire Array for retrieval in a future session?
Thanks in advance!

.asCompileString

is your friend!

See also .postcs

Cheers,
eddi
https://soundcloud.com/all-n4tural/sets/spotlight
https://alln4tural.bandcamp.com

3 Likes

PS, you may also want to check out
http://doc.sccode.org/Classes/Object.html#-writeArchive

and

http://doc.sccode.org/Classes/Object.html#*readArchive

Thanks, Eddi! I knew it had to be something very simple like that.