Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!husc6!ddl From: ddl@husc6.harvard.edu (Dan Lanciani) Newsgroups: comp.lang.postscript Subject: Re: Problem using eexec (need help) Message-ID: <1567@husc6.harvard.edu> Date: 13 Feb 90 00:30:38 GMT References: <31807@shemp.CS.UCLA.EDU> Organization: Harvard University, Cambridge MA Lines: 17 In article <31807@shemp.CS.UCLA.EDU>, david@oahu.cs.ucla.edu (David Dantowitz) writes: | | I converted the following file into eexec format as shown below. How | can I get the eexec format to work? | | When I print it (in eexec format) I get: | | ERROR: invalidaccess | OFFENDING COMMAND: def For reasons that are probably now obvious, eexec pushes systemdict of the dictionary stack before running the encrypted code. The "def" therefore trys to alter a readonly dictionary and fails... Adding something like "userdict begin" should solve the problem. Dan Lanciani ddl@harvard.*