Hi
can anyone help me in writing the code for using the session parameter sound alaram.
please let me the code.
thanks
PMV
Hi
can anyone help me in writing the code for using the session parameter sound alaram.
please let me the code.
thanks
PMV
I don’t understand why anyone would want to turn the alarm on - a beep on every response to an INPUT would keep me awake. The default value is OFF.
Turn off the alarm with Natparms, GLOBALS, or SET GLOBALS. You can turn it on for individual REINPUT statements with the ALARM clause.
Here’s an example:
DEFINE DATA LOCAL
1 #IN (A10)
END-DEFINE
SET GLOBALS SA=T
REPEAT
INPUT #IN (AD=MDLT) /* Alarm controlled by SET GLOBALS
IF #IN <> 'IN'
THEN
REINPUT 'Please enter "IN"' ALARM /* Statement-level override
END-IF
END-REPEAT
END