Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Dec Pascal
@ 1995-11-10  5:00 Shane L. Kingry
  1995-11-16  5:00 ` John R. Reagan
  0 siblings, 1 reply; 2+ messages in thread
From: Shane L. Kingry @ 1995-11-10  5:00 UTC (permalink / raw)


One of the classes in the department is having its students write a
Pascal program.  In this program, they need the 'clock' function, or
something of the like.  A sample bit of code would be:

VAR
  Seed: integer;
.
.
.
  Seed := clock;


This compiles fine, but fails miserably when trying to link:

ld:
Unresolved:
pas$clock2
Pascal: Severe: Failed while trying to link.


When we installed Pascal, all the test programs seemed to work compile
and link fine.

I looked on the Layered Products CD for help, and it did mention that
not all of the functions that the different DEC Pascal compilers had
were compatible with all of their different OS's and systems, but it
said nothing about clock not working on an OSF3.2 system.  Mind you,
the date of this CD was Feb 93 (which bring upon another question...
where and for how much could I get a new one?).

I guess my question is: Is something installed incorrectly, are they
compiling without the proper flags, or is this just not a valid
function with this version of Pascal?

Thanks!

Shane
shane@saturn.uaamath.alaska.edu
System Admin.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-11-16  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-11-10  5:00 Dec Pascal Shane L. Kingry
1995-11-16  5:00 ` John R. Reagan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox