script_status

	status.i4.v = script_status()

	This routine returns the present scripting status for the calling
	program.  (Note: SCRIPT_DONE is returned for the FIRST call
	following script completion.)

	This function returns status values as follows:

	SCRIPT_ISON		program is executing a script
	SCRIPT_ISOFF		program is not executing a script
	SCRIPT_DONE		program has just finished a script
	SCRIPT_ABORTED		a script has just been aborted
	SCRIPT_WRITING		script writing is in progress

	(Return constants are defined in cbslib.h.)

	This function requires the following include files:

	cbslib_h

	Related functions:

	script_select, script_check, script_create, script_delete, script_stop,
	script_menu, script_get_dir, script_available, script_lock,
	script_unlock, script_accept

	C/C++ usage:

	int	status;

	status = script_status();