Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 UW 5/3/83; site uw-beaver Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!cornell!uw-beaver!info-mac From: info-mac@uw-beaver.UUCP Newsgroups: fa.info-mac Subject: File usage in MacPascal Message-ID: <1525@uw-beaver> Date: Tue, 21-Aug-84 04:09:39 EDT Article-I.D.: uw-beaver>.1525 Posted: Tue Aug 21 04:09:39 1984 Date-Received: Wed, 22-Aug-84 01:11:56 EDT Sender: daemon@uw-beave Organization: U of Washington Computer Science Lines: 21 From: DSMITH@RUTGERS.ARPA We will be using MacPascal as the coding tool for the first two undergraduate course in CS. This requires that students turn in assignments by presenting a listing of their program, a listing of the test data on which it was run, and the output produced. In order to achieve these goals we have, in the past, used the file i/o available in Pascal. Can this be done in MacPascal? I have been unable to find any documentation which asserts or denies the existance of file handling capabilities. Specifically, 1 - Can files be created under program control? If so, where may I find a description of the syntax for doing so? 2 - Can a file be read under program control? If so , ... 3 - Is it possible to print a file created by a MacPascal program using the print facility inside the MacPascal file window? Any inforamtion would be greatly appreciated. Don -------