1. contributions & windows
- Posted by eel picton <eelpics at yahoo.co.uk> Jun 28, 2004
- 417 views
well thanks again to irv juergen & kat Alles klar, Herr Kommissar? ich hatte DASS vergessen - sehr lustig )) yeh... i keep forgetting about bill gates too cheerz kat anyway... i've had a good look at the contributions page... most of the utilities seemed a bit out of my beginners depth... but i was interested in the small amusement programs like 'mhands' and 'micro' just to get a feel for typical programming structure... but they both generated an ex.err file stating: C:\Desktop\micro\micro\MICRO.EX:81 attempt to subscript an atom (reading from it) both programs are the 'windows' format if that makes a difference which reminds me... the planetarium program i am working on is using the 'dos' platform as i gave up {very quickly admittedly } figuring out how to use euphoria on the 'windows' platform smoothly... what are the pros and cons of using 'windows' euphoria over 'dos' and has anyone else ever experienced problems with the 'windows' platform?
2. Re: contributions & windows
- Posted by irv mullins <irvm at ellijay.com> Jun 28, 2004
- 400 views
eel picton wrote: > anyway... i've had a good look at the contributions page... most of the > utilities seemed > a bit out of my beginners depth... but i was interested in the small amusement > programs > like 'mhands' and 'micro' just to get a feel for typical programming > structure... > > but they both generated an ex.err file stating: > C:\Desktop\micro\micro\MICRO.EX:81 > attempt to subscript an atom > (reading from it) If you look at lines 80 and 81, you'll see: misc=read_bitmap("c:\\micro\\p1l1.bmp") all_palette(misc[1]/4) Line 81 is trying to subscript the variable "misc", and the error message is telling you that misc is an atomic variable. Since misc was loaded from a bitmap (in line 80), that means that the bitmap load failed (perhaps because it couldn't find the .bmp file. Now - some advice. To avoid insulting anyone, just let me say that I do not believe that particular program is a good one to learn Euphoria from. If you want to learn Euphoria, you would do much better to choose something else. Perhaps some of Jiri Babor's programs, for example. > what are the pros and cons of using 'windows' euphoria over 'dos' and has > anyone else > ever experienced problems with the 'windows' platform? Has anyone ever NOT experienced problems with the Windows platform? :P Seriously, use what you like. If you are making programs for other people to use, you'll have to use what they like, and right now, that's mostly Windows. Those are the only pros or cons that matter. Regards, Irv
3. Re: contributions & windows
- Posted by "Unkmar" <L3Euphoria at bellsouth.net> Jun 28, 2004
- 406 views
----- Original Message ----- From: "irv mullins" <guest at RapidEuphoria.com> To: <EUforum at topica.com> Sent: Monday, June 28, 2004 8:52 AM Subject: Re: contributions & windows > > > posted by: irv mullins <irvm at ellijay.com> > > eel picton wrote: > > > anyway... i've had a good look at the contributions page... most of the utilities seemed > > a bit out of my beginners depth... but i was interested in the small amusement programs > > like 'mhands' and 'micro' just to get a feel for typical programming structure... > > > > but they both generated an ex.err file stating: > > > C:\Desktop\micro\micro\MICRO.EX:81 > > attempt to subscript an atom > > (reading from it) > > If you look at lines 80 and 81, you'll see: > > misc=read_bitmap("c:\\micro\\p1l1.bmp") > all_palette(misc[1]/4) > > Line 81 is trying to subscript the variable "misc", > and the error message is telling you that misc is an atomic variable. > Since misc was loaded from a bitmap (in line 80), that means that > the bitmap load failed (perhaps because it couldn't find the .bmp > file. That is just the first error to be encountered. I have a fixed and updated copy but... > Now - some advice. > To avoid insulting anyone, just let me say that I do not > believe that particular program is a good one to learn Euphoria > from. I agree with this statement. Very poor code layout. > If you want to learn Euphoria, you would do much better > to choose something else. Perhaps some of Jiri Babor's programs, > for example. I agree again. You could also download the Mode19 engine and look at the demo code. The engine code won't help you any. You can read the docs to the engine as well. You can look at the multibmp (multiple bitmap) stuff that comes with it. Ralf Nieuwenhuijsen also provides some interesting code to learn from. His code shows his progession of learning to some extent. > > what are the pros and cons of using 'windows' euphoria over 'dos' and has anyone else > > ever experienced problems with the 'windows' platform? > > Has anyone ever NOT experienced problems with the Windows platform? :P > > Seriously, use what you like. If you are making programs for other people > to use, you'll have to use what they like, and right now, that's mostly > Windows. Those are the only pros or cons that matter. > > Regards, > Irv Maybe someone should create a list of learning examples from the existing archives. In other words, use existing archive code to create a travel from good to better code. Don't bother writing docs about any of the code. Just point to different code as examples to examine and learn from. unkmar