1. help with NeilGUI

Hello everyone,

I'm doing a minor update to my NeilGUI library and I'm stumped.
I was adding/changing some code and now it doesn't do anything.
Okay, well it sets the graphics mode and then waits for
a little bit and then exits. No error message, no (ex.err) error
file. I have consolidated all my abort commands in a routine
called ERROR (). Here it is:

procedure ERROR (sequence msg)
  restore_mode ()      -- note it uses neil.e
  puts (1, msg & "\n")
  if wait_key () then end if
  puts (1, "Press any key to exit.\n")
  if wait_key () then end if
  abort (1)
end procedure

You'll notice that I'm taking extra pains to avoid this sort of
thing... but it happened anyway. I hope this is just a foolish
error with a simple solution. Does anyone know of possible causes?
I'll send you (anyone) the files if you want.
I'm just tired of staring at this code. Please don't laugh at me
if it's a silly error. :) Note that both the example programs have
this problem so it is defintely the NeilGUI.e file even tho I did
fiddle with ONE of the example progs.

later,
Lewis Townsend
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » topic index » view message » categorize

2. Re: help with NeilGUI

On Tue, 18 Apr 2000 19:57:24 GMT, Lewis Townsend <keroltarr at HOTMAIL.COM>
wrote:

 Lewis:

   First be sure that your error function is being called.

   If it is then replace the abort(1) with abort(1/0) which

   will cause a divide by zero error and force a dump to

   an err file, then you can look in this file to see if it helps

   you to find the error. I quite often insert abort(1/0) in my

   code to force a dump to look for an error. I hope this helps

 Bernie

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

3. Re: help with NeilGUI

Hello Bernie,


I included calls to the error routine but I don't think it's even

getting that far or I wouldn't have this problem.

Thanks for the divide by zero idea, I'll try this but I don't

think it will work. Let me try really quick just to see...

Nope, no luck, doesn't help any.

Any more suggestions?

Anyone want to look at my code?

later,
Lewis Townsend
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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

4. Re: help with NeilGUI

I volunteer.  Send me the code.  I haven't looked at NeilGUI at all.
I will definitely be a blind eye.  Is this thing Windows or is it DOS?

        Lucius L. Hilley III


> ---------------------- Information from the mail
header -----------------------
> Sender:       Euphoria Programming for MS-DOS
<EUPHORIA at LISTSERV.MUOHIO.EDU>
> Poster:       Lewis Townsend <keroltarr at HOTMAIL.COM>
> Subject:      Re: help with NeilGUI
> --------------------------------------------------------------------------
-----
>
> Hello Bernie,
>
>
> I included calls to the error routine but I don't think it's even
>
> getting that far or I wouldn't have this problem.
>
> Thanks for the divide by zero idea, I'll try this but I don't
>
> think it will work. Let me try really quick just to see...
>
> Nope, no luck, doesn't help any.
>
> Any more suggestions?
>
> Anyone want to look at my code?
>
> later,
> Lewis Townsend
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>

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

5. Re: help with NeilGUI

Lewis:
   Now try inserting the abort in your code at points along your

  code so can force dumps and look at the variables. For

  example: insert it each place that you think that you would

  be calling the error routine.

  Or insert it to dump just before or after a routine to

  dump the variables and check the conditions.

Bernie

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

6. Re: help with NeilGUI

Okay, thanks Bernie, I'll try this.

I think I can find it if I spend enough time.

thanks again,

Lewis Townsend
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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

7. Re: help with NeilGUI

Hello all,

I'd like to thank Bernie Ryan and Lucius L. Hilley III
for their responses to my post. The problem is now
resolved.

thanks,
Lewis Townsend
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu