GG30%LAFAYACS.BITNET@uga.cc.uga.edu ( The Lone Pascal Programmer) (02/08/91)
Greetings, I'm running VS-Pascal Version 2 running MUSIC/SP which is running under VM. I've some trouble with file operations. I don't know of way to open any MUSIC file from inside a pascal program using RESET & REWRITE. I have file operations working well with the MFIO and MFACT subrountines. It would be nice to use reset and rewrite. Furthermore, I cannot get record files to work properly either. Sample Program /sys reg=max /file input term /file output term /file inside NAME(outside) NEW(REPL) /load vspascal program filetest; var inside : text; begin rewrite ( inside, '??????????'); what do I put for the options? end; What I want to do is access any MUSIC file from inside the program without declaring it before the program. With this method, I can only access a file named in the /file statement For every file I want to access I must define its particular name in a /file statement before the program. I would appreciate any sample programs people could send. Also, if anyone has any sample programs using record files, it would be appreciated. -Gabe Gagliano -Student Programmer, ACS Lafayette College. GG30@LAFAYACS.BITNET 'The Lone Pascal Programmer' 'A Unix Guy Trapped in a IBM World.'