myslot_index

	slot.i4.v = myslot_index()

	This routine returns the application program 'slot index', e.g., if
	the program is running in the PA_SLOT or SA_SLOT the value 0 will be
	returned.  If the program is not running in a P*_SLOT or S*_SLOT
	a value of -1 will be returned
	This function returns status values as follows:

	0,1,2,...
	-1 on error

	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,
	my_control_system_name

	C/C++ usage:

	int slot_index;

	slot_index = myslot_index();