Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

How to stop the bell ringing?

WSinc
New Contributor I
560 Views

Hello;

In my debugging output, sometimes it encounters a character that "rings the bell."

Is there a way to prevent this, or at least mute it? Of course I can turn down the volume,

but maybe it would better to isolate the problem instead.

Which HEX charcter would that be, and why would that appear in formatted output?

I thought formatted output should produce only printed characters, at least if I am printing

numerical stuff.

0 Kudos
3 Replies
ZlamalJakub
New Contributor III
560 Views

I think that bell character is CHAR(7).

Jakub

0 Kudos
WSinc
New Contributor I
560 Views
Quoting Quba

I think that bell character is CHAR(7).

Jakub

Any idea how that would creep into my output stream?

It isn't deliberate - - -

0 Kudos
ZlamalJakub
New Contributor III
560 Views
Try to debug your code, and find write statement which causes problem. Then try to write it not to console but string and use index(string,char(7)) if it occurs and at which position.
If the occurence of beep is random I incline to problem of your computer - Overheating, problem with hardware, virus.
Jakub
0 Kudos
Reply