From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,418b62f7e2d390d5 X-Google-Attributes: gid1164f8,public From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii) Subject: Re: VAX Fortran - "Encode" Statement Date: 2000/02/01 Message-ID: <877ep9$ca8$1@nserve1.acs.ucalgary.ca>#1/1 X-Deja-AN: 580487236 References: <389733B2.9B3E503D@bms.com> X-Complaints-To: news@ucalgary.ca X-Trace: nserve1.acs.ucalgary.ca 949436009 12616 136.159.34.221 (1 Feb 2000 20:13:29 GMT) Organization: University of Calgary NNTP-Posting-Date: 1 Feb 2000 20:13:29 GMT Newsgroups: comp.sys.dec Paul Roskos (paul.roskos@bms.com) wrote: : The program contains several statements of the form, : "ENCODE(1,10,File(4)) PASS(1)." Could anyone tell me what the : "Encode" statement does? ENCODE() certainly predates VAXen; I used it on PDP-11s with pre-77 Fortran - so your code is *really* old. ENCODE is basically equivalent to internal formatted WRITE(), which didn't exist in those times. One of the arguments will be FORMAT label, another one will be the output location, but the exact order of those and the meaning of the third parameter escapes me after all this time ... Regards, /Serge.P -- home page: http://www.cobalt.chem.ucalgary.ca/ps/