instance_number.i4.v = myinstance()

	This integer function will return the console instance on which
	the calling program is running.  If the program is not running
	in a console environment, a value of minus one is returned.

	This function returns status values as follows:

	-1			not in a console environment
	otherwise		caller's console instance number

	This function requires the following include files:


	Related functions:

	myconsole, numcns, mynode, myslot, mypage, myname, my_ascii_name,
	my_gen_name, my_generic_ascii_name, clib_environment,
	my_executable_name_c, my_user_name, my_acnet_user_name,

	C/C++ usage:

	int	instance_number;

	instance_number = myinstance();