BELL statement
Causes the terminal to make a beep sound.
Note: Does not apply to SpeedScript programming.Syntax
ExampleThe following procedure dynamically determines the output file to use for a report that lists all customer records. The SET statement gets the name of a file from the user. The SEARCH function returns an unqualified file name if that file already exists in your working directory. If the file exists in your working directory, it displays messages, undoes the work done in the DO block, and lets the user enter another file name. (The procedure determines whether the file is in your working directory. If SEARCH returns a directory other than your current working directory, you receive no messages and it does not undo your work.) After you type a file name that does not already exist, the OUTPUT TO statement directs the output of the procedure to that file.
NoteIf the terminal is not the current output device, BELL has no effect.
OpenEdge Release 10.2B
|