1. re re To Judith Evans

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

new topic     » topic index » view message » categorize

2. Re: re re To Judith Evans

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.

new topic     » goto parent     » topic index » view message » categorize

3. Re: re re To Judith Evans

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: re re To Judith Evans

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.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu