[net.lang.pascal] HELP!! with Berkeley Pascal 1.1

maildb@dartvax.UUCP (Mail Database) (05/11/86)

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