Jump to content
IGNORED

Kyan Pascal 2.0x


Materion

Recommended Posts

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 by Materion
Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...