1. Re: how to program a beep

On Thu, 30 Nov 2000, J-C Hendrickx wrote:
>> Hello,
>> 
>> Can anyone enlighten me how to get a 'beep' with Euphoria
>> working on a Linux Box ?

Well i dont know this off the top of my head but i do have a suggestion:
 
>> The following don't work in Euphoria:
>> -------
>> include graphics.e

graphics.e is not compatible with Linux, it uses DOS specific calls, use
graphics.eu by ... dang i forgot but im fairly sure that its API is compatible
with that of the DOS graphics.e so there should be no problem.

include graphics.eu

procedure beep()
  for i=1  to 50000 do
    sound(1000)
    delay(0.1)
  end for
  sound(0)
end procedure

beep()

>> Thanks for any suggestion.
>> 
>> J.C.

You can get graphics.eu in the archive at http://www.rapideuphoria.com/
search for it

-- 
evil, corruption and bad taste
^[cense]

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu