wn_switch_read_c

	value.i4.v = wn_switch_read_c(switch_id.i4.v)

	This routine will return the most recent status of the requested
	graphics window switch.

	switch_id	ID of desired switch
			(returned by prior call to wn_switch_create_c)

	This function returns status values as follows:

	CBS_NO_SUCH		switch does not exist
	otherwise		returns the present value of the switch
				(SWITCH_LATCH -> SWITCH_ON or SWITCH_OFF,
				 SWITCH_MOMENTARY -> SWITCH_WAS_PRESSED or
						     SWITCH_NOT_PRESSED)

	This function requires the following include files:

	cbslib_h, acnet_errors_h

	Related functions:

	wn_switch_pressed, wn_switch_create_c, wn_switch_delete_c,
	wn_switch_window_delete_c, wn_window_has_switch_c,
	wn_switch_set_state_c, wn_switch_disable_c, wn_switch_enable_c,
	wn_switch_relabel_c, wn_switch_redraw_c, switch_read_c

	C/C++ usage:

	int	value;
	int	switch_id;

	status = wn_switch_read_c(switch_id);