Beliavsky / FortranTip

Short instructional Fortran codes associated with Twitter @FortranTip
https://zmoon.github.io/FortranTipBrowser/
The Unlicense
64 stars 14 forks source link

Tip: print*,char(7) to beep #41

Open Beliavsky opened 2 years ago

Beliavsky commented 2 years ago

In ASCII and Unicode the character with the value 7 is BEL, so

print*,char(7)

will cause the program to beep, which can be used to signal completion.