myslot

	slot.i4.v = myslot()

	This routine returns the application program slot number of the
	calling program.  If the program is not running in a console
	instance environment, a value of zero is returned.

	This function returns status values as follows:

	PA_SLOT			primary application PA
	SA_SLOT			secondary application SA
	SB_SLOT			secondary application SB
	ALARM_SLOT		reserved for alarm system
	PB_SLOT			primary application PB
	UTIL_SLOT		utility window
	NONUSER_SLOT		background user process
	SC_SLOT			secondary application SC
	PC_SLOT			primary application PC
	PD_SLOT			primary application PD
	PE_SLOT			primary application PE
	SD_SLOT			secondary application SD
	SE_SLOT			secondary application SE

	This function requires the following include files:

	cnsparam_h, clib_h

	Related functions:

	myconsole, myinstance, mynode, myname, my_ascii_name, my_gen_name,
	my_generic_ascii_name, mypage, clib_environment, my_executable_name_c,
	my_user_name, my_acnet_user_name, myslot_letter, myslot_index,
	my_control_system_name

	C/C++ usage:

	int	slot;

	slot = myslot();