[cc65] Geos and Menu items

Date view Thread view Subject view

From: Francesco Sblendorio (sblendorio.f_at_libero.it)
Date: 2003-04-29 11:33:13


I'm trying to have working menus... but it happens that, at the end of
the execution of a function associated to a menu item, the systems hangs
up - the only thing that seems to work is "exit(0)" to re-load the DeskTop.

I've written extremely simple functions, such as:

void menuOpen(void)
{
 PutString("Open",30,10);
}

After the PutString, I want the system to enter the main loop, so I tried
this:

void menuOpen(void)
{
 PutString("Open",30,10);
 MainLoop();
}

but the result is the same: the system hangs up. I searched some example in
the docs, but I didn't find it.

How can I make the system loop continue after the executing of the function?

Thanks in advance.



----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-04-29 11:35:05 CEST