ECHO

Re-display updated window field

Source

S.EM

CALL ECHO

Parameters

None

 

Copybooks

None

 

Other Requirements

None

Purpose

This routine is used to indicate that a speedbase field needs to be redisplayed by the window manager. This routine is normally used as part of the V- processing of a field when the value of the field being accepted has been changed by the code within the V- routine itself. Under normal circumstances the changes to the field would not be reflected on screen. Calling the ECHO routine ensures that the field is redisplayed before moving onto the next field in the window.

Exceptions

None

Example

…
01 02 "Start Product"
	02 16 S-PROD	X(15)
03 02 "End Product"
	03 16 E-PROD	X(15)
ENDWINDOW
V-S-PROD.			* First product in range
IF	S-PROD SPACES
	MOVE "First" TO S-PROD	* Change input field text to `First'
	CALL ECHO		* Refresh field in window
END
EXIT

V-E-PROD.			* Last product in range
IF	E-PROD SPACES
	MOVE "Last" TO E-PROD	* Change input field text to `Last'
	CALL ECHO		* Refresh field in window 
END
EXIT

Global 3000 Example

This routine is used throughout Global 3000.

See Also