[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: quiet beep
From: |
Robert A. Macy |
Subject: |
Re: quiet beep |
Date: |
Tue, 26 Jul 2005 14:49:49 -0700 |
if I use ...
>> printf("^G")
^Gans = 2
>>
or use the ctrl-G sequence...
>> printf("")
ans = 0
>>
or use the keyboard trick of alt 7...
>> printf("")
ans = 0
>>
how did you get ctrl-G to even appear on the line?
- Robert -
On Tue, 26 Jul 2005 21:09:54 +0100
Geraint Paul Bevan <address@hidden> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Robert A. Macy wrote:
> > Perfect. Thank you.
> >
> > but...change of subject...this is quiet
> >
> >>>printf("this is a test\n\a")
> >
> > this is a test
> > ans = 16
> >
> >
> > also...
> >
> >>>printf("\a")
> >
> > ans = 1
> >
> >
> > Even as a script file this is quiet on both the Win98
> and
> > on the WinXP
>
>
> You may have the windows message beep disabled, but
> perhaps you could
> try to print the literal character ^G (ctrl-G):
>
> printf("^G");
>
> - --
> Geraint Bevan
> http://homepage.ntlworld.com/geraint.bevan
>
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------