from the sampleStreamWriter I understand what its doing and I could add it to a script. But it is always appending when writing.
I would need it eg simply to write a "1" when its long "2" when its short and a "0" when its flat, so only one value in the file without appending. I was on microsoft dot net api system io but I cant find this. Therefore thank you for helping me by giving me this snippet.
Thank you!
Tony
Comment