1. Inquiry: Bound exw or ex ?
- Posted by Al Getz <Xaxo at aol.com> Sep 12, 2005
- 491 views
Hello, From time to time im working on something that i'd like to bind with exw rather than ex, but im wondering what some of the differences are. It involves the PD source code so typically the end user would sometimes run this program in order to run their Euphoria code. For example, say i bind it with bindw and i get the program "Prog.exe". The user would typically do something like this: Prog.exe TheirProgram1.exw or Prog.exe TheirProgram2.ex The .ex program might do other things than the .exw program would. In either case (.ex or .exw programs) i would want their programs to run the same as if they used the actual public domain Euphoria interp. This means they will be using a program bindw'd with exw rather than bind'd with ex. It will be running the source however, but i noticed the source 'interp' was named "Eu.ex" rather than "Eu.exw". So my question is...are there any problems with them running an .ex program with the source bound using bindw instead of bind? Will their program work the same either way? (we can assume their .exw programs will run ok.) TIA Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"
2. Re: Inquiry: Bound exw or ex ?
- Posted by Vincent <darkvincentdude at yahoo.com> Sep 12, 2005
- 481 views
Al Getz wrote: > > Hello, > > > From time to time im working on something that i'd like to bind with > exw rather than ex, but im wondering what some of the differences are. > It involves the PD source code so typically the end user would sometimes > run this program in order to run their Euphoria code. > > For example, say i bind it with bindw and i get the program "Prog.exe". > The user would typically do something like this: > Prog.exe TheirProgram1.exw > or > Prog.exe TheirProgram2.ex > > The .ex program might do other things than the .exw program would. > > In either case (.ex or .exw programs) i would want their programs > to run the same as if they used the actual public domain Euphoria interp. > This means they will be using a program bindw'd with exw rather > than bind'd with ex. It will be running the source however, but > i noticed the source 'interp' was named "Eu.ex" rather than "Eu.exw". > > So my question is...are there any problems with them running an .ex > program with the source bound using bindw instead of bind? > Will their program work the same either way? > > (we can assume their .exw programs will run ok.) > > > TIA > > > Take care, > Al > > And, good luck with your Euphoria programming! > > My bumper sticker: "I brake for LED's" > Al, as long as your DOS (.ex) programs dont use any DOS specific routines, they should run fine on the public domain interpreter bound with the standalone Windows Euphoria backend (backendw.exe). However I would actually use the Euphoria to C translator in this case because the PD source interpreter runs VERY slow intepreted or bound. Regards, Vincent ---------------------------------------------- ___ __________ ___ /__/\ /__________\ |\ _\ \::\'\ //::::::::::\\ |'|::| \::\'\ //:::_::::_:::\\ |'|::| \::\'\ //::/ |::| \::\\ |'|::| \::\'\ //::/ |::| \::\\|'|::| \::\'\__//::/ |::| \::\|'|::| \::\','/::/ |::| \::\\|::| \::\_/::/ |::| \::\|::| \::,::/ |::| \:::::| \___/ |__| \____| .``. ',,'
3. Re: Inquiry: Bound exw or ex ?
- Posted by Al Getz <Xaxo at aol.com> Sep 12, 2005
- 477 views
Vincent wrote: > > Al Getz wrote: > > > > Hello, > > > > > > From time to time im working on something that i'd like to bind with > > exw rather than ex, but im wondering what some of the differences are. > > It involves the PD source code so typically the end user would sometimes > > run this program in order to run their Euphoria code. > > > > For example, say i bind it with bindw and i get the program "Prog.exe". > > The user would typically do something like this: > > Prog.exe TheirProgram1.exw > > or > > Prog.exe TheirProgram2.ex > > > > The .ex program might do other things than the .exw program would. > > > > In either case (.ex or .exw programs) i would want their programs > > to run the same as if they used the actual public domain Euphoria interp. > > This means they will be using a program bindw'd with exw rather > > than bind'd with ex. It will be running the source however, but > > i noticed the source 'interp' was named "Eu.ex" rather than "Eu.exw". > > > > So my question is...are there any problems with them running an .ex > > program with the source bound using bindw instead of bind? > > Will their program work the same either way? > > > > (we can assume their .exw programs will run ok.) > > > > > > TIA > > > > > > Take care, > > Al > > > > And, good luck with your Euphoria programming! > > > > My bumper sticker: "I brake for LED's" > > > > Al, as long as your DOS (.ex) programs dont use any DOS specific routines, > they should > run fine on the public domain interpreter bound with the standalone Windows > Euphoria > backend (backendw.exe). > > However I would actually use the Euphoria to C translator in this case because > the > PD source interpreter runs VERY slow intepreted or bound. > > > Regards, > Vincent > > ---------------------------------------------- > ___ __________ ___ > /__/\ /__________\ |\ _\ > \::\'\ //::::::::::\\ |'|::| > \::\'\ //:::_::::_:::\\ |'|::| > \::\'\ //::/ |::| \::\\ |'|::| > \::\'\ //::/ |::| \::\\|'|::| > \::\'\__//::/ |::| \::\|'|::| > \::\','/::/ |::| \::\\|::| > \::\_/::/ |::| \::\|::| > \::,::/ |::| \:::::| > \___/ |__| \____| > > .``. > ',,' > > Hi Vincent, Is that a 'yes' or a 'no' ? If some .ex programs wont run using the source bound with exw (bindw) then i'll have to create two versions...one with bind and one with bindw right? This will give two programs ProgEx.exe and ProgExw.exe. ProgEx.exe would be used to run .ex programs (similar to PD ex.exe) and ProgExw.exe would be used to run .exw programs (similar to PD exw.exe). Sound about right? I was hoping to get away with only one exe to distribute. Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"
4. Re: Inquiry: Bound exw or ex ?
- Posted by Greg Haberek <ghaberek at gmail.com> Sep 12, 2005
- 456 views
- Last edited Sep 13, 2005
> I was hoping to get away with only one exe to distribute. The problem is that specific DOS routines, like graphics modes for instance, are only available in DOS, not Windows. Your DOS apps would probably crash if they tried using DOS-specific routines in a Windows environment. Otherwise we'd only have one Windows interpreter to begin with. Rob distribute two interpreters for this reason, you're going to have to, too. ~Greg
5. Re: Inquiry: Bound exw or ex ?
- Posted by Vincent <darkvincentdude at yahoo.com> Sep 12, 2005
- 482 views
- Last edited Sep 13, 2005
Al Getz wrote: > > Hi Vincent, > > Is that a 'yes' or a 'no' ? > > If some .ex programs wont run using the source bound with exw (bindw) > then i'll have to create two versions...one with bind and one with bindw > right? This will give two programs ProgEx.exe and ProgExw.exe. ProgEx.exe > would be used to run .ex programs (similar to PD ex.exe) and ProgExw.exe > would be used to run .exw programs (similar to PD exw.exe). > Sound about right? > > I was hoping to get away with only one exe to distribute. > > > Take care, > Al > > And, good luck with your Euphoria programming! > > My bumper sticker: "I brake for LED's" > If your DOS programs use any of these routines: tick_rate, graphics_mode, palette, all_palette, get_all_palette, get_active_page, set_active_page, get_display_page, set_display_page, sound, pixel, get_pixel, draw_line, polygon, ellipse, save_screen, save_image, display_image, dos_interrupt, allocate_low, free_low, get_vector, set_vector, lock_memory, use_vesa, get_mouse, mouse_events, mouse_pointer then it wont work as many of these routines probably use DOS interrupts internally. So to answer your question: No, some DOS Euphoria programs wont work. Regards, Vincent ---------------------------------------------- ___ __________ ___ /__/\ /__________\ |\ _\ \::\'\ //::::::::::\\ |'|::| \::\'\ //:::_::::_:::\\ |'|::| \::\'\ //::/ |::| \::\\ |'|::| \::\'\ //::/ |::| \::\\|'|::| \::\'\__//::/ |::| \::\|'|::| \::\','/::/ |::| \::\\|::| \::\_/::/ |::| \::\|::| \::,::/ |::| \:::::| \___/ |__| \____| .``. ',,'
6. Re: Inquiry: Bound exw or ex ?
- Posted by Al Getz <Xaxo at aol.com> Sep 13, 2005
- 501 views
Hello again, Oh i see, well thanks Vincent and Greg for pointing this out. I'll end up making two programs then eventually. It's been *so* long since i worked in DOS now. Thanks, and take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"