|
Hi there
I’m looking for a way to write to a text file, similar to the xwrite example but using headers for reference. For example I have “Header A” which then has five values attached to it say “1,2,3,4,5” and I then want to create “Header B” in the same text file with another five values attached.
So the text file would look like
[Header A]
1
2
3
4
5
[Header B]
1
2
3
4
5
It would then be useful to reference the header and the attached values.
I hope this makes sense. Any help is greatly appreciated.
Thanks
Tim
|
|
|