RE: Need Some Help Getting Started
- Posted by Greg Haberek <ghaberek at wowway.com> Aug 19, 2004
- 397 views
> 1) Will anyone recommend a context sensitive text editor that runs in > the Windows command window? <plug type=FREE for=RDS> Perhaps I'm the only one here that noticed you said "command window" as everyone else seemed to suggest Windows GUI editor. Have you tried using ed? It comes with Euphoria! At the command line, type "ed <somefilename>" or simply "ed" (remember, no quotes) and it will prompt you for a file name. Browse to your EUPHORIA\BIN directory and type "ed ed.ex" to see the source code for ed. ed has syntax coloring, find/replace, execute, file compare, multiple file access (up to 10 open windows, F1 - F10), access to help files (library.doc, refman.doc, relnotes.doc), and a bunch more features. When running ed, hit the Esc key and your options will be displayed on the top line. Either hit the key highlight by your chosen option, or simply Enter to cancel. Here's a quick reference: Esc E Execute Esc Q Quit, no save Esc S Quit, with save Esc W Save, no quit Esc C Clone (opens new window) Esc N New or Open (if you type in an existing file, it opens it, otherwise it creates a new file) Once you get the hang of ed it becomes second nature, as do most things in Euphoria. </plug> > 2) What Windows library should I use? I noticed several in the EUPHORIA > web site. I need something which is stable and mostly bug free. I use Win32Lib, as do most people. I've been using it since David Cuny first wrote it several years ago. It's been rather crutial to the advancement of Euphoria on the Windows platform. I'd say 90% of the Euphorians who write Windows programs use Win32Lib. As mentioned in a previous post, version 0.59.1 was probably one the most stable. And Derek Parnell is very quick to update and fix bugs and errors. He's constantly adding new features, my favorite being a scriptable interface, which makes creating controls much easier and faster, and reduces code significantly. > 3) Some API wrappers and demo programs would be helpful. I'd suggest Bernie Ryan's WIN32 Engine. It makes a lot of difficult things much easier. Also, download WIN32.hlp from the archives. Search for Microsoft and you'll find a listing called "WIN32 API Documentation". It's saved me many, many times, and I've had to use is to do things not found in any library. > We avoid 16-bit software like the plague! Funny you should mention that. I just dug out my Windows 3.0, 3.1, DOS 6, MS Works! and WordPerfect disks the other day. All 30 or so floppies read fine and I backed them up to a CD. It brought back the good ol' days of BASICA and QuickBASIC programming, AOL 3.0 and never having to worry about viri or spyware. > Thanks in advance for your help. Anytime! ~Greg