Re: "Beep" at end of execution
- Posted by Michael Nelson <MichaelANelson at WORLDNET.ATT.NET> Jan 06, 2001
- 486 views
----- Original Message ----- From: "Darth Maul, aka Matt" <uglyfish87 at HOTMAIL.COM> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Saturday, January 06, 2001 7:34 PM Subject: Re: "Beep" at end of execution > On Sat, 6 Jan 2001 11:47:35 +1100, Aidan Bindoff <abindoff at ONE.NET.AU> > wrote: > > >Lewis, thanks for your suggestion. That is what I have been doing, > however, if I change graphics_mode() strange things happen... > > > > that's because system("",2) changes the screen mode back after the prog > is done executing. try a "if graphics_mode(3) then end if" after that > call to wait_key(). > > - Matt Even better suggestion: include graphics.e sequence saveConfig object junk saveConfig=video_config() system("x.bat",2) -- don't clear, don't beep. junk=wait_key() junk=graphics_mode(saveConfig[VC_MODE]) -- Mike Nelson