1. Open + Save in wxeuphoria

Hi,

I'm trying to write a word processor in wxeuphoria and I can't get the Open, 
nor Save command to work on it. I've been trying to go throught the wxIDE for
about a week now but I simply can't figure out how to do either one.

Could someone please offer some help, or some advice as to how to do it?

new topic     » topic index » view message » categorize

2. Re: Open + Save in wxeuphoria

Jesse Adkins wrote:
> 
> Hi,
> 
> I'm trying to write a word processor in wxeuphoria and I can't get the Open,
> nor Save command to work on it. I've been trying to go throught the wxIDE for
> about a week now but I simply can't figure out how to do either one.
> 
> Could someone please offer some help, or some advice as to how to do it?

The opening and saving in wxIDE is fairly straightforward (and based on
the stand-alone editor from Judith's IDE).  Each line of text is stored 
as its own sequence.  To read a file, the line is read in using gets(),
and the newline character is stripped.  To save, I just print each sequence
to the file, adding the appropriate line ending.

Have you tried writing and reading files?  I'm not sure where you're getting
stuck, so a little more information might help us to help you.

Matt Lewis

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu