Materion Posted September 5, 2021 Share Posted September 5, 2021 (edited) Hello, I have problem with running programs written and compiled on Kyan Pascal 2.0x. For example I write code PROGRAM HELLO; BEGIN Writeln('Hello world!'); END. Save it as Hello.P. I run compiler write Hello.P - it compiles file without errors. It generates file Hello without any extension. I copy that file to new disk (formatted earlier). After that I copy LIB file from side B of Kyan Pascal disc to new disk. So now I have on new disk Hello and LIB files. When I try to run Hello file I got error message "Error loading Pascal Library". Manual says that library have to be on same disk with compiled program and it is. What I am doing wrong? I can't get it to work. Same thing happen on example programs on side B of Kyan Pascal 2.0 disk - for example there is compiled Prime program. Trying to run it gives same error. LIB file is on side B of Kyan Pascal 2.0 disk so it should in theory run. Thanks in advance for replies! Edited September 5, 2021 by Materion Quote Link to comment Share on other sites More sharing options...
TGB1718 Posted September 5, 2021 Share Posted September 5, 2021 Copy your source and lib files on D2: What you need to do is at the % prompt type compile your program i.e. % pc D2:HELLO.P type ls D2: you should see file HELLO CD d2: then type the name of the program to run <RETURN> It will work fine, basically it will look at the default drive for the LIB, so you have to change that before you run. 1 Quote Link to comment Share on other sites More sharing options...
Materion Posted September 5, 2021 Author Share Posted September 5, 2021 Thank you very much!! Now it works ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.