Re: BELL
The command that you want is sound().
sending a beep character to the console out isn't a very effective
method. sound(freq).. You will need to apply a delay.
sound(0) will turn it off.
you might try something like this.
global procedure beep()
atom t
sound(600)
t = (time() + 0.05)
while (t > time()) do
end while
sound(0)
t = (time() + 0.05)
while (t > time()) do
end while
end procedure
for A = 1 to 3 do
beep()
end for
Lucius L. Hilley III
lhilley at cdc.net
+----------+--------------+--------------+
| Hollow | ICQ: 9638898 | AIM: LLHIII |
| Horse +--------------+--------------+
| Software | http://www.cdc.net/~lhilley |
+----------+-----------------------------+
----- Original Message -----
From: George Walters <gwalters at SC.RR.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Wednesday, February 02, 2000 10:51 AM
Subject: BELL
> ---------------------- Information from the mail
header -----------------------
> Sender: Euphoria Programming for MS-DOS
<EUPHORIA at LISTSERV.MUOHIO.EDU>
> Poster: George Walters <gwalters at SC.RR.COM>
> Subject: BELL
> --------------------------------------------------------------------------
-----
>
>
> ------=_NextPart_000_0017_01BF6D6B.681B2180
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> I'm a newby here, can anyone tell me how to 'beep' the computer?? On the =
> basic I have been using it was 'crt$("bell")'.
>
> ..thanks... george
>
> ------=_NextPart_000_0017_01BF6D6B.681B2180
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
> <HTML>
> <HEAD>
>
> <META content=3Dtext/html;charset=3Diso-8859-1 =
> http-equiv=3DContent-Type>
> <META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT size=3D2>I'm a newby here, can anyone tell me how to 'beep' =
> the=20
> computer?? On the basic I have been using it was=20
> 'crt$("bell")'.</FONT></DIV>
> <DIV><FONT size=3D2></FONT> </DIV>
>
> ------=_NextPart_000_0017_01BF6D6B.681B2180--
>
|
Not Categorized, Please Help
|
|