toggle_switch_read

	status.i4.v = toggle_switch_read(identifier.g.v, switch_value.i1.r)

	This routine returns the current value for a toggle switch created
	by an earlier call to toggle_switch_create_c.

	identifier	identifier of desired switch whose type depends on
			the most recent call to toggle_switch_set_id_type_c
			(TOGGLE_SWITCH_BY_ID -> use four byte ID value returned
						by a prior call to
						toggle_switch_create_c
						(default),
			 TOGGLE_SWITCH_BY_HANDLE -> use ASCII handle string)
	switch_value	returned current switch value

	This function returns ACNET status values as follows:

	OK			success
	CBS_NO_SUCH		switch does not exist

	This function requires the following include files:

	cbslib_h, acnet_errors_h

	Related functions:

	toggle_switch_set_id_type_c, toggle_switch_create_c,
	toggle_switch_delete, toggle_switch_window_delete_c,
	toggle_switch_set_c, toggle_switch_enable,
	toggle_switch_disable, toggle_switch_matrix_c

	C/C++ usage:

	char	switch_value;
	int	status;
	int	switch_id;

	status = toggle_switch_read((void *) &switch_id,&switch_value);