1. Edita: Error #2 >

Hi Pete,


When i run edita from exw file, then try the context menue's
"Context Help" Edita crashes.

It's looking good otherwise though :)


Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

new topic     » topic index » view message » categorize

2. Re: Edita: Error #2 >

On Thu, 08 Sep 2005 19:33:44 -0700, Al Getz <guest at RapidEuphoria.com>
wrote:

>When i run edita from exw file, then try the context menue's
>"Context Help" Edita crashes.
I can't reproduce that one. Can you send me an ex.err file?
>
>It's looking good otherwise though :)
Thanks,
Pete

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

3. Re: Edita: Error #2 >

Pete Lomax wrote:
> 
> On Thu, 08 Sep 2005 19:33:44 -0700, Al Getz <guest at RapidEuphoria.com>
> wrote:
> 
> >When i run edita from exw file, then try the context menue's
> >"Context Help" Edita crashes.
> I can't reproduce that one. Can you send me an ex.err file?
> >
> >It's looking good otherwise though :)
> Thanks,
> Pete
> 
> 
Hi Pete,


I didnt realize the fix would be so simple...


Here's the offending procedure (in eaqj.ew):

procedure includeLine(sequence line, integer idx)
  integer ch
  object incpath
  sequence path
  integer semicolon

  -fold-
  incpath=getenv("EUINC")
  -fold-
  path=getenv("EUDIR")
  -fold-
end procedure


It seems that the fix is as simple as this:

procedure includeLine(sequence line, integer idx)
  integer ch
  object incpath,path
  --sequence path
  integer semicolon

as 'path' gets loaded with -1 if the environment var isnt available.
'incpath' was already an object so no problem there.

Seems to fix the problem as it didnt crash after changing that one line
and rerunning however you may wish to test too.


Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

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

Search



Quick Links

User menu

Not signed in.

Misc Menu