script_select

	status.i4.v = script_select(script_name.i1a.r [,do_term.i4.r]
				    [,replay_speed.r4.r] [,trace_box.i1a.r]
				    [,set_lock.i4.r] [,fswrite_lock.i4.r]
				    [,warning_override.i4.v])

	Open a script file for the current program and replay it.
	The setting and file write locks can be augmented by the locks
	specified during the script creation.

	script_name		name of script (SCRIPT_NAME_LEN characters)
	[do_term]		(TRUE -> terminate program at end of script,
				 FALSE -> don't terminate program
					  (default (NULL)))
	[replay_speed]		multiplier on the periodic interrupts
				(default (NULL) is 1.0 (normal speed))
	[trace_box]		mailbox name to send error-trace data to
				(CMU_NAME_LEN characters) (default is NULL)
	[set_lock]		(TRUE -> prevent device settings,
				 FALSE -> allow settings (default (NULL)))
	[fswrite_lock]		(TRUE -> prevent Filesharing file writes,
   				 FALSE -> allow file writes (default (NULL)))
	[warning_override]	(TRUE -> don't display warning dialog,
				 FALSE -> display warning dialog for
					  scripts with possible settings or
					  file writes (default))

	This function returns ACNET status values as follows:

	OK			success
	CBS_MEMFAIL		error in allocating dynamic memory
	CBS_NOTENB		script replay is presently locked out or
				caller is a temporary application
	CBS_BUSY		a script replay is already in progress
	CBS_NODAT		no scripts exist for this program
	CBS_INVNAME		requested script does not exist
	CBS_ABORT		user aborted script replay
	SQL_xxx			error accessing script database table

	This function requires the following include files:

	cnsparam_h, cbslib_h, acnet_errors_h

	Related functions:

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

	C/C++ usage:

	static const char	script_name[SCRIPT_NAME_LEN+1] =
				"my SCRIPT       ";
	static const char	trace_box[CMU_NAME_LEN+1] = "mailbox_name";
	int	status;
	int	do_term = FALSE;
	int	set_lock = FALSE;
	int	fswrite_lock = FALSE;
	int	warning_override = FALSE;
	float	replay_speed = 1.0;

	status = script_select(script_name,&do_term,&replay_speed,trace_box,
			       &set_lock,&fswrite_lock,warning_override);