Thread View: net.lang.pascal
1 messages
1 total messages
Started by Mail Database
Sun, 11 May 1986 02:29
HELP!! with Berkeley Pascal 1.1
Author: Mail Database
Date: Sun, 11 May 1986 02:29
Date: Sun, 11 May 1986 02:29
24 lines
1192 bytes
1192 bytes
I am trying to use library routines from /usr/libc.a in a Berekely Pascal
program. According to the manuals, it is possible, but I can't for the life
of me figure out how. If I do the following:
program help;
type
str= packed array [0..79] of char;
procedure system(string: str); external;
begin
system('man man');
end.
I get messages that system is an already predeclared library routine. Without
declaring it as an external routine I'm told that it is undefined. I loose
either way. I played with .h files and didn't get much further. Any ideas?
Bruce Jones
Mail Database Project
maildb@dartvax.UUCP
mailb@dartmouth.EDU
maildb@dartmouth.CSNET
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads