#	State - write state information
#
#	Usage:
#		State
#
#	Script State writes the current variable definitions, exports, aliases,
#	and menu items, the default directory, and the list of open windows
#	to standard output.  This state information is written in the form
#	of commands that may be used later to restore the state.  The date
#	is included in the first line of output.
#
#	Copyright Apple Computer, Inc. 1987
#	All rights reserved.

#	Heading.

	Echo "# `Date`"

#	Variables, exports, aliases, and menus.

	Set
	Export
	Alias
	AddMenu

#	Default directory.

	Echo Directory "`Directory`"

#	Open Windows.

	Echo "Open `Windows` ≥ Dev:Null || Set Status 0"
