Take a look at the write operator, format and using |'s to center text for
report writing. If you have Learning Perl (ORA) the info you need is on
pp.23.24.29.116.118.119.232 the info about fileholders (so you can center
your text) is on p.120.
Let me try (in my novice way) to give you an example.
$a = "1";
$b = "2";
$c = "3";
format ABC =
The first one is: @||||||||||||||| The second one is : @<<<<<<<<<<<<<<<
and the third is @>>>>>>>>>>>>>>>
$a, $b, $c
Ok, I think this is correct, but it may not be. So I am going to use my
first answer here EVER as a learning experience for myself as well.
Crystal
-----Original Message-----
From: Brennan, Corey [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 7:21 AM
To: [EMAIL PROTECTED]
Subject: saving text to a file...
Hi all,
I have a text widget that is configured to have tab stops every 100
pixels, with the text centered on the tab stop. Is there a way to save the
text to a file and preserve the format so the file will look the same when
opened in another text editor?
Thanks!
---
Corey Brennan