1. A Beginner's Guide To Euphoria III (really!)
- Posted by David Gay <davidalangay at hotmail.com> Sep 03, 2005
- 607 views
Good morning. As I mentioned before, I've been playing around with the idea of writing "A Beginner's Guide To Euphoria III" for the last 18 months. I've have decided, after checking on my current personal and professional obligations and taking into consideration ABGTE II will be NINE years old on July 27th, 2006, I have decided to make that idea a reality. Now, I know what you are saying...I last attempted this in July 2000 but it never came to light..what happened? Well, I will be honest with you. It was the wrong time to write a "III" because my job at the time was very busy, plus I stated an unrealistic period of 4 months to write III. All of that made it impossible to create "III" and for that I'd like to apologize for not doing what I said I was going to do. My target date for releasing ABGTE III is April 21st, 2006. The date was well-chosen for several reasons. It will give me six and a half months to plan and code III, consult with the membership of EUforum for your collective advice, and give RDS the chance to validate the tutorial's accuracy (pending their approval to play that role). RDS has also given the Euphoria programmer new commands and enhancements between 1.5 (which ABGTE II covered) and the latest version 2.5. This means I need more time to cover a wider range of commands. In addition, April 21st 2006 is the 10th anniversity of the birth of the web page, "A Beginner's Guide To Euphoria". What a nice anniversary gift it would be if we can add another new tutorial program to the RDS Documentation portion of "User Contributions". My first question to all of you is the general appearance of the tutorial itself. While I have decided the tutorial will be a program (It must be a program...II demonstrated to everyone what Euphoria can do by being written in Euphoria while teaching Euphoria), what kind of program will it be? If I am considering a multi-platform tutorial software, the software would have to be written in Euphoria using commands that are covered on all four platforms Euphoria can be compiled on. However, that would lead to a text only program with limited interface support. Another option I could try is to write ABGTE III for Windows/DOS, but give the tutorial the ability to write a text and HTML version for those platforms that aren't Microsoft. The face of the tutorial will be further altered by Windows Vista. Vista is supposed to drop DOS support and replace it with some sort of command line shell called MSH (code name Monad). Assuming we cannot use DOS any more, and MSH does not support Euphoria programs which use commands like draw_line() and display_image(), the tutorial may have to be written using Win32lib as the interface. This question is very crucial because I want my tutorial to continue on in Vista's world as an executable program. Regards David Gay
2. Re: A Beginner's Guide To Euphoria III (really!)
- Posted by Kenneth Rhodes <ken_rhodes30436 at yahoo.com> Sep 03, 2005
- 550 views
David, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria. wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria. wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria. wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria. Welcome back! :) Ken Rhodes SuSE Linux 9.3 100% MicroSoft Free
3. Re: A Beginner's Guide To Euphoria III (really!)
- Posted by David Gay <davidalangay at hotmail.com> Sep 03, 2005
- 563 views
Kenneth Rhodes wrote: > > David, > > wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria. > wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria. > wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria. > wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria. Hello Kenneth I downloaded wxEuphoria version .70 for Windows from http://wxeuphoria.sourceforge.net/ and played around with the demos. Looks good, but I will now need to learn how to program under this environment. I'll admit this isn't going to be as easy as DOS programming. However, perhaps I need not be proficient if I just get a basic window going with some menus, a toolbar, some buttons and a multiline text field for the tutorial. I downloaded the wxEuphoria IDE but it keeps crashing, so chances are good I won't use it if I decide to write the tutorial using wxEuphoria. If all fails, there's nothing stopping me from writing a tutorial using the cross-platform statements and functions to ensure it can be ported over to other platforms but it will look boring. David Gay
4. Re: A Beginner's Guide To Euphoria III (really!)
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Sep 03, 2005
- 558 views
- Last edited Sep 04, 2005
David Gay wrote: > > Kenneth Rhodes wrote: > > > > David, > > > > wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria. > > wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria. > > wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria. > > wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria, wxEuphoria. > > Hello Kenneth > > I downloaded wxEuphoria version .70 for Windows > from <a > href="http://wxeuphoria.sourceforge.net/">http://wxeuphoria.sourceforge.net/</a> > and played around with the demos. > Looks good, but I will now need to learn how to program under this > environment. I'll admit this isn't going to be as easy as DOS programming. > However, perhaps I need not be proficient if I just get a basic window > going with some menus, a toolbar, some buttons and a multiline text field > for the tutorial. I downloaded the wxEuphoria IDE but it keeps crashing, > so chances are good I won't use it if I decide to write the tutorial > using wxEuphoria. > > If all fails, there's nothing stopping me from writing a tutorial using the > cross-platform statements and functions to ensure it can be ported over to > other platforms but it will look boring. > I'm working on getting v0.8 out the door this weekend, which means that I can release the next version of wxIDE, which will allow you to do some design in a GUI environment, and have it write the code for you. It's not as mature as the IDE for Win32Lib, but it's a real help. Matt Lewis
5. Re: A Beginner's Guide To Euphoria III (really!)
- Posted by David Gay <davidalangay at hotmail.com> Sep 03, 2005
- 546 views
- Last edited Sep 04, 2005
Matt Lewis wrote: > I'm working on getting v0.8 out the door this weekend, which means that I > can release the next version of wxIDE, which will allow you to do some > design in a GUI environment, and have it write the code for you. It's not > as mature as the IDE for Win32Lib, but it's a real help. > > Matt Lewis > Hi Matt. I'm looking forward to having 0.8 available. Thanks to you and your Sourceforge team for the effort put into it. Like I said in my post to Kenneth, it looks really good. I especially like the wxTreeCtrl functionality. It would make the tutorial very easy to work with if I can get that to work for me. David Gay
6. Re: A Beginner's Guide To Euphoria III (really!)
- Posted by Vincent <darkvincentdude at yahoo.com> Sep 03, 2005
- 561 views
- Last edited Sep 04, 2005
David Gay wrote: > > Good morning. > > As I mentioned before, I've been playing around with the idea of > writing "A Beginner's Guide To Euphoria III" for the last 18 months. I've > have decided, after checking on my current personal and professional > obligations and taking into consideration ABGTE II will be NINE years old > on July 27th, 2006, I have decided to make that idea a reality. > > Now, I know what you are saying...I last attempted this in July 2000 but it > never came to light..what happened? Well, I will be honest with you. It was > the wrong time to write a "III" because my job at the time was very busy, > plus I stated an unrealistic period of 4 months to write III. All of that > made it impossible to create "III" and for that I'd like to apologize for > not doing what I said I was going to do. > > My target date for releasing ABGTE III is April 21st, 2006. The date > was well-chosen for several reasons. It will give me six and a half months > to plan and code III, consult with the membership of EUforum for your > collective advice, and give RDS the chance to validate the tutorial's > accuracy (pending their approval to play that role). RDS has also given > the Euphoria programmer new commands and enhancements between 1.5 (which > ABGTE II covered) and the latest version 2.5. This means I need more time > to cover a wider range of commands. In addition, April 21st 2006 is the > 10th anniversity of the birth of the web page, "A Beginner's Guide To > Euphoria". What a nice anniversary gift it would be if we can add another > new tutorial program to the RDS Documentation portion of "User > Contributions". > > My first question to all of you is the general appearance of the tutorial > itself. While I have decided the tutorial will be a program (It must be > a program...II demonstrated to everyone what Euphoria can do by being > written in Euphoria while teaching Euphoria), what kind of program will it > be? If I am considering a multi-platform tutorial software, the software > would have to be written in Euphoria using commands that are covered on all > four platforms Euphoria can be compiled on. However, that would lead to a > text only program with limited interface support. Another option I could > try is to write ABGTE III for Windows/DOS, but give the tutorial the > ability to write a text and HTML version for those platforms that aren't > Microsoft. > > The face of the tutorial will be further altered by Windows Vista. Vista is > supposed to drop DOS support and replace it with some sort of command line > shell called MSH (code name Monad). Assuming we cannot use DOS any more, > and MSH does not support Euphoria programs which use commands like > draw_line() and display_image(), the tutorial may have to be written > using Win32lib as the interface. This question is very crucial because I > want my tutorial to continue on in Vista's world as an executable program. > > Regards > > David Gay > Hey David, Why not use wxEuphoria or EuGTK+ for a cross-platform Windows/Linux tutorial, you might even be able to get it to work on FreeBSD? I would not worry about a DOS version of the tuturial, since people need to have Windows to even install Euphoria for DOS. I think you should wait and cover the next version of Euphoria, that way you can add a section on emulated threads. Euphoria v2.5 official has been out for about 6 months now, so I'd just wait. Hopefully an alpha version of the next release will be available before April 2006. Now about Windows Vista... MS-DOS emulation will still be available from what I know, thus Euphoria for DOS on Vista should still be possible. MSH has been dropped from Windows Vista client versions, but may make it into Windows Longhorn Server in 2007. WinFS will probably be available in the second service pack for Vista. The UI you are refering to is called Aero. It's has a transparent glass theme by default. It's simular in respects to MacOS X's Aqua UI. I'm not sure what you mean by: "I want my tutorial to continue on in Vista's world as an executable program", but I'll say this, if your looking to exploit the new managed API: WinFX, Euphoria is not the language to use, since Euphoria does not support the .NET architecture at this point. Don't worry though, Win32 C-style API isn't going anywhere for a very long time, thus Euphoria for Windows isn't going to die. I don't see emulated DOS going anywhere either. Nevertheless, if you are a Windows developer, you should not avoid .NET, as it will become the principle development platform for Windows Vista, and beyond. Euphoria + C#/VB.NET and/or Java are a great combination. I took that route. Regards, Vincent ---------------------------------------------- ___ __________ ___ /__/\ /__________\ |\ _\ \::\'\ //::::::::::\\ |'|::| \::\'\ //:::_::::_:::\\ |'|::| \::\'\ //::/ |::| \::\\ |'|::| \::\'\ //::/ |::| \::\\|'|::| \::\'\__//::/ |::| \::\|'|::| \::\','/::/ |::| \::\\|::| \::\_/::/ |::| \::\|::| \::,::/ |::| \:::::| \___/ |__| \____| .``. ',,'
7. Re: A Beginner's Guide To Euphoria III (really!)
- Posted by David Gay <davidalangay at hotmail.com> Sep 04, 2005
- 537 views
Hi Vincent What I meant by "I want my tutorial to continue on in Vista's world as an executable program, was I wanted to ensure when I write the tutorial to run without modification (depending on the approach to programming, either native or with wxEuphoria), I did not have to worry about making any changes to have it run on Vista when it comes out. Thanks very much on clearing up my misconceptions about Vista, Aero, and the future of Euphoria for DOS. Pardon the question, but what exactly is threading..is it like threading on an IBM AS/400? Regards David Gay
8. Re: A Beginner's Guide To Euphoria III (really!)
- Posted by DB James <larch at adelphia.net> Sep 04, 2005
- 552 views
David Gay wrote: > > Hi Vincent > > What I meant by "I want my tutorial to continue on in Vista's world > as an executable program, was I wanted to ensure when I write the tutorial > to run without modification (depending on the approach to programming, > either native or with wxEuphoria), I did not have to worry about making > any changes to have it run on Vista when it comes out. > > Thanks very much on clearing up my misconceptions about Vista, Aero, and the > future of Euphoria for DOS. > > Pardon the question, but what exactly is threading..is it like threading > on an IBM AS/400? > > Regards > > David Gay > Hi, I found this article on Wikipedia to be of help on threads: http://en.wikipedia.org/wiki/Thread_%28computer_science%29 --Quark
9. Re: A Beginner's Guide To Euphoria III (really!)
- Posted by Jerry Story <jstory at ocii.com> Sep 04, 2005
- 531 views
Matt Lewis wrote: > I'm working on getting v0.8 out the door this weekend, which means that I Will the next version of the Linux version of wxEuphoria have a solution to the click problem? Will binded wxEuphoria files run on KDE and Nautilus by clicking?
10. Re: A Beginner's Guide To Euphoria III (really!)
- Posted by David Gay <davidalangay at hotmail.com> Sep 04, 2005
- 527 views
Hi Quark. I should have looked there in the first place, just like what you did. I go to Wikipedia on a regular basis. Yes, it is like a thread on an AS/400 Regards
11. Re: A Beginner's Guide To Euphoria III (really!)
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Sep 04, 2005
- 541 views
Jerry Story wrote: > > Will the next version of the Linux version of wxEuphoria have a solution to > the click > problem? Will binded wxEuphoria files run on KDE and Nautilus by clicking? > I haven't figured it out yet, but it's one thing I'm working on. Matt Lewis
12. Re: A Beginner's Guide To Euphoria III (really!)
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Sep 04, 2005
- 563 views
Jerry Story wrote: > > Will the next version of the Linux version of wxEuphoria have a solution to > the click > problem? Will binded wxEuphoria files run on KDE and Nautilus by clicking? > Here's what I'm doing. I'm adding this code to wxEuphoria.e:
global sequence PATH integer slash PATH = command_line() PATH = reverse(PATH[1]) if platform() = LINUX then slash = '/' else slash = '\\' end if if find(slash, PATH) then PATH = reverse( PATH[find(slash, PATH)..$] ) else PATH = "" end if
Then, to fix freecell, change the line:
constant CardsBmp = loadGraphics( "cards.png" ) -- to: constant CardsBmp = loadGraphics( PATH & "cards.png" )
Basically, PATH will hold the startup directory for wherever your app is when it's double clicked in a file manager. The only time PATH might fail, is if your app is somewhere in the PATH, and a user typed the app name. Then, there is no way to know (in theory, you could use the linux command "which"). This sort of situation will have to be the programmer's responsibility. Matt Lewis
13. Re: A Beginner's Guide To Euphoria III (really!)
- Posted by Chris S <chris_saik at yahoo.com> Sep 06, 2005
- 572 views
David, your tutorial really got me going with Euphoria. It was great! As I am a relative newbie to Win32, I would love for the new tutorial to concentrate on Windows programming. Either win32lib or wxeuphoria would be outstanding!
14. Re: A Beginner's Guide To Euphoria III (really!)
- Posted by cklester <cklester at yahoo.com> Sep 06, 2005
- 531 views
FYI, everybody, I have a Euphoria/GUI tutorial posted to my Euphoria web site. Have a look and let me know what's missing... :) http://www.cklester.com/books/guiphoria/ There's also a non-GUI Euphoria primer at http://www.cklester.com/books/jubilation/ -=ck "Programming in a state of EUPHORIA." http://www.cklester.com/euphoria/
15. Re: A Beginner's Guide To Euphoria III (really!)
- Posted by David Gay <davidalangay at hotmail.com> Sep 06, 2005
- 552 views
Chris S wrote: > > David, your tutorial really got me going with Euphoria. It was great! As I > am a relative > newbie to Win32, I would love for the new tutorial to concentrate on Windows > programming. > Either win32lib or wxeuphoria would be outstanding! > Hi Chris. Thanks for the comments. I am glad the tutorial helped you out. CKlister has already written a primer/tutorial on wxeuphoria and win32lib. I know it is there because I am in the process of reading it to get a better feel on how to do the windows programming using the wxeuphoria wrapper. David
16. Re: A Beginner's Guide To Euphoria III (really!)
- Posted by don cole <doncole at pacbell.net> Sep 07, 2005
- 565 views
cklester wrote: > > FYI, everybody, I have a Euphoria/GUI tutorial posted to my Euphoria web site. > Have a look and let me know what's missing... :) > > <a > href="http://www.cklester.com/books/guiphoria/">http://www.cklester.com/books/guiphoria/</a> > > There's also a non-GUI Euphoria primer at > > <a > href="http://www.cklester.com/books/jubilation/">http://www.cklester.com/books/jubilation/</a> > > -=ck > "Programming in a state of EUPHORIA." > <a > href="http://www.cklester.com/euphoria/">http://www.cklester.com/euphoria/</a> > This is very good: '''''''''''''''''''''''''''''''''''''''' Currently, there are two cross-platform GUI libraries available for Euphoria programmers: wxEuphoria (Matt Lewis, using the wxWidgets library)) EuGTK (Irv Mullins) If you want to code solely for the Windows platform, you can use one of several Euphoria GUI libraries: Win32Lib (Derek Parnell, et. al.) Win32 Engine (Bernie Ryan) ARWEN (Mike) EuWinGUI (Andrea Cini) ''''''''''''''''''''''''''''''''''''''''' I would like to see some discussion of the major differences in these libraries: Win32Lib (Derek Parnell, et. al.) Win32 Engine (Bernie Ryan) ARWEN (Mike) EuWinGUI (Andrea Cini) WinClass (Al Getz) Window.ew (Thomas Parslow (PatRat)) Win32r.ew (Dave Cuny and Matt Lewis) Don Cole SF