set console off
?chr(7) && or ??chr(7)
set console on && or whatever saved setting you had
should also work.
? chr(7) does seem to send the output to the screen as well as sound the bell (or wavfile). setting the console off discards the unwanted output.
>BINGO!
>The guru made it again! Many thanks Jim!
>...the only problem is that I don't understand WHY it works !??
>
>
>>>I am trying to make a sound when the user goes over a button.
>>>I am using set bell to 'file.wav' in my screen init and in the mouseover method, I am using ??chr(7). It works fine execpt the fact that this command make my screen go up a bit. Is there a way to avoid this.
>>>
>>>Thanks
>>>Eric
>>
>>Eric,
>>
>>Try this;
>>
>>
>>ACTIVATE SCREEN
>>?? CHR(7)
>>ThisFrom.Show()
>>