Re: First program and questions
- Posted by "Mike Sabal" <Sabal.Mike at notations.com> Jul 01, 2004
- 448 views
>>> bdennis at shreve-lib.org 07/01/2004 11:41:01 AM >>> > I recently started studying Euphoria and I'm very excited to get started > with it. Just to save myself a little bit of time, I'm going to get the > new Win32lib and try to write a simple program. Welcome to the language. > I have a couple of reports that arrive in plain text > format. I'd like to strip out the HEADER information that's printed > randomly throughout and then insert a PAGE BREAK at the end of each > record. Euphoria is well suited for this. I would recommend using the DOS version first for the logic, then make it pretty with Win32Lib once you know the logic is working. Assuming the report has identifiable markers (like a row of equal signs, for example) to identify the split between the header and body, and something to identify the end of a record, it should take you an hour max to do, most of that time being spent finding the correct syntax in library.doc. A few tips: Make sure you include the wildcard.e and get.e libraries. Using gets, compare, and puts should get you well on your way. Dive right in, and if you get stuck, we're here to help. The only foolish question is the one that isn't asked! > Brandon Michael J. Sabal