home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!tulane!jameel
- From: jameel@cs.tulane.edu (Akhtar Jameel)
- Subject: HELP with assigning NAME TO A FILE
- Message-ID: <1992Nov8.080623.24570@cs.tulane.edu>
- Sender: news@cs.tulane.edu
- Organization: Computer Science Dept., Tulane Univ., New Orleans, LA
- Distribution: usa
- Date: Sun, 8 Nov 1992 08:06:23 GMT
- Nntp-Posting-Host-[nntpd-24512]: amor
- Lines: 18
-
- I declare a file in the program statement as
- program(input,output,proto);
- .
- .
- proto : text;
- fname : packed array[1..20] of char;
- .
- .
- fname := 'genuine';
- {NOW I want to assign the name 'genuine' to "proto"...}
-
- reset(proto,genuine); {from a previous reference this should do it
- but not on my microvax running vms 5.4-3,
- standard pascal}
-
-
- Now, what du ya say!
- jameel@rex.cs.tulane.edu
-