-----Messaggio Originale----- Da: "Saulius Zrelskis" <labi...@gmail.com> A: "Enrico Maria Giordano" <e.m.giord...@emagsoftware.it> Data invio: mercoledì 29 maggio 2013 10.47 Oggetto: Re: [xHarbour-developers] HB_NO_BACKGROUND
> Hi Enrico, > > There is mix of background task and idle time tasks :-) > Try this: > > FUNCTION MAIN() > > HB_BACKGROUNDADD( { || Tone( 440, 1 ) }, 100, .T. ) > > SET BACKGROUNDTICK 200 > SET BACKGROUND TASKS ON > > While INKEY( 0.01 ) != K_ESC > end > > SET BACKGROUND TASKS OFF > > RETURN NIL Negative. It doesn't work if the WHILE loop is replaced by INKEY( 0 ). My sample do. EMG -- EMAG Software Homepage: http://www.emagsoftware.it The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum The Best of Spectrum Games: http://www.emagsoftware.it/tbosg The EMG Music page: http://www.emagsoftware.it/emgmusic ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers