writing to file
a function "write-data" is mentioned a couple times in the File class documentation. Does it exist? Either way, how do I save a vector into a text file? I'm trying to save the x,y,z coordinates of an agent over discrete intervals, but can't convert a vector to a string. Any thoughts? thanks!
»
Submitted by Astro21297 on Tue, 2006-01-03 19:54.
- Login to post comments

writing to file
"write-data" is used for the internal breve type "data", which is normally just used by breve developers or for writing plugins. You can convert a vector to a string by embedding the vector variable in a string like this:
myFile write-line text "$myVector".- jon
i just encounter this
i just encounter this problem! thanks for your answer, Jon!!