CompuServe Thread

#Help with directory!

2 messages in this thread
#7259From: RickApr 14, 1989 7:41 PM
I just received my M2Sprnt package and Im having a few problems. I can't seem to get to compile or link anywhere but df0:. I tried changing the directory saving it somewhere else from the editor, changing the name if the compler configurations to something like DHO:(file name ) and it still only works on DF0:. Also sometimes when I try to run the program form the editor by pressing F3 and get not enough memory even though I have 5 meg on the machine and have not used near that much. Also it would be nice if you had a complete definition of your implementation in the documentation. I know Modula 2 is suppose to be pretty standard but all four implementations I used had diffrences. For example some use NEW as a keyword some don't. Some need a D after long types and some don't. I know you could find this information out on your own but documentation would help. Rick Jacoby
#7263From: M2S/Phil CampApr 14, 1989 9:36 PM
The compiler and linker will use the current directory to output their respective files. If at the time you start the environment, the current directory is on DF0:, then for the duration of the session, all output files will go to this directory. The solution is to set the current directory to something different before booting the compiler environment. This is a problem that has become apparent and will be addressed shortly. Concerning the out of memory problems. This problem is not known and has never been encountered. It is possible that the message generated by the editor is missleading. If you try to run a program, and the environment can't load the executable, it will report out of memory, even though the error might be the fact that the file was not found. Again, I'll try to address this problem soon. I agree about the comments on the manual, next version…