Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!iuvax!rutgers!cbmvax!cbmehq!cbmger!peterk From: peterk@cbmger.UUCP (Peter Kittel GERMANY) Newsgroups: comp.sys.amiga Subject: Re: Need help using eval in scripts Message-ID: <192@cbmger.UUCP> Date: 7 Jun 90 17:44:24 GMT References: <918@cameron.egr.duke.edu> Reply-To: peterk@cbmger.UUCP (Peter Kittel GERMANY) Organization: Commodore Bueromaschinen GmbH, West Germany Lines: 23 In article <918@cameron.egr.duke.edu> amr@dukee.egr.duke.edu (Anthony M. Richardson) writes: >How does one use eval if you want to read one of the parameters from >an input file (or environment variable)? The 1.3 manual (the little >white book) I have says you can do this and even gives an example >that goes something like (from memory) > > eval < t:qwe value2=1 op=- to env:loop > ^^^ Well, in the print shops with their proportional fonts it becomes often VERY difficult to tell where a space should go and where not. This statement deals with redirection of input, so there MUST NOT BE A SPACE in "NIL: to=t:qwe{$$} value2=1 op=- ? copy t:qwe{$$} env:loop ; don't abuse type where copy is meant -- Best regards, Dr. Peter Kittel E-Mail to Commodore Frankfurt, Germany rutgers!cbmvax!cbmbsw!cbmger!peterk