save

HC Workspace Management Workspace Control save
unstep savel

save filename


command. Saves the definitions of all unburied procedures, variables, and property lists in the named file. Equivalent to

to save :filename
	local "oldwriter
	make "oldwriter writer

	openwrite :filename
	setwriter :filename

	poall
	setwriter :oldwriter
	close :filename
end

Example:

load "si.lg
save "temp.txt

Now temp.txt contains the same definitions as si.lg.

See also:

References:

unstep savel