1. re re To Judith Evans
- Posted by Les Rogers <selgor1 at verizonmail.com> Jan 06, 2007
- 603 views
Thank You Judith for your quick reply. Simply, I edit a program ... Save it ... Run It .. Not Work .. Draw_Line ...... e.g. Not recognised ? Yet When I launch program & get it .. then it runs What is the difference ....... between ..... Launch and Run Maybe include the files for Draw_Line ???? Sorry 2 b a pain !! just wondering ? cheers
2. Re: re re To Judith Evans
- Posted by Judith Evans <camping at ccewb.net> Jan 06, 2007
- 569 views
- Last edited Jan 07, 2007
Les Rogers wrote: > > > Thank You Judith for your quick reply. > > Simply, > I edit a program ... Save it ... Run It .. Not Work .. > Draw_Line ...... e.g. Not recognised ? > > Yet When I launch program & get it .. > > then it runs > > What is the difference ....... between ..... > > Launch and Run > > Maybe include the files for Draw_Line ???? > > Sorry 2 b a pain !! > > just wondering ? > > cheers You're not a pain! Editor.exw "run" will try to "save" then execute your code with exw.exe and "Launch" will use shellExecuteEx( "open",...) on an existing file. Editor.exw does not automatically include files from Euphoria\Include or anywhere else. You must add the support file include statements you need yourself. There is no way I could outguess the include files all users might want to add. I have never used ex.exe; does it automatically know about Euphoria\Include files? That is the only way I can think why shellExecuteEx works and Run does not if you have not added an include statement for graphics.e in your code.
3. Re: re re To Judith Evans
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jan 06, 2007
- 565 views
- Last edited Jan 07, 2007
Judith Evans wrote: > > Editor.exw "run" will try to "save" then execute your code with exw.exe and > "Launch" will use shellExecuteEx( "open",...) on an existing file. > I have never used ex.exe > That is the only way I can think why shellExecuteEx works and Run does not exw.exe will give a message such as: \EUPHORIA\include\graphics.e:116 in procedure draw_line() draw_line() is not supported in Euphoria for WIN32 and, vice versa, ex.exe will crash if you call say open_dll(). Maybe "run" should use shellExecuteEx [if the file extension is not "exw"] It's on my to-do list somewhere for Edita to mark things like draw_line if the file extension is "exw", and equally open_dll if "ex", as illegal. Regards, Pete
4. Re: re re To Judith Evans
- Posted by Judith Evans <camping at ccewb.net> Jan 06, 2007
- 577 views
- Last edited Jan 07, 2007
Pete Lomax wrote: > > Judith Evans wrote: > > > > Editor.exw "run" will try to "save" then execute your code with exw.exe and > > "Launch" will use shellExecuteEx( "open",...) on an existing file. > > Maybe "run" should use shellExecuteEx [if the file extension is not "exw"] > > It's on my to-do list somewhere for Edita to mark things like draw_line if the > file extension is "exw", and equally open_dll if "ex", as illegal. > > Regards, > Pete Pete, that is an excellent idea, thanks for the suggestion.