perm filename RESTOR.MAC[SIM,SYS] blob sn#460185 filedate 1979-07-20 generic text, type T, neo UTF8
COMMENT * SIMULA specification;
OPTIONS(/E:CODE,ZYLRES);
PROCEDURE restore(filespec);
VALUE filespec; TEXT filespec;
COMMENT restores the program specified by filespec without closing files.
Normally, an explicit extension should NOT be given.
If the device was not specified or specified as DSK:, and no ppn was
given, SYS: is tried as device on failure.
;

!*;! MACRO-10 code !*;!

	TITLE	restore
	ENTRY	ZYLRES
	SUBTTL	SIMULA utility, Lars Enderin Feb 1976

;!*** Copyright 1976 by the Swedish Defence Research Institute. ***
;!*** Copying is allowed.					***


	sall
	search	simmac,simmcr,simrpa
	macinit

	EXTERN	ZYLRUN

	;! Local definitions ;!


	filespec==2

ZYLRES:BRANCH	ZYLRUN+1
	END;