Hi,
When I compile my pascal code with GNU Pascal's compiler, I get undeclared identifier `Clock' when I reference it in my code:
e.g. y := clock/1000-y1
I thought Clock is a predefined global function. What should I do in order for the compiler to recognize the clock command?
Thanks! Ray - - - - - - - - - - - - - Raymond Wang Department of Electrical Engineering Stanford University
www.stanford.edu/~rayw
Hi, Raymond Wang,
you wrote:
When I compile my pascal code with GNU Pascal's compiler, I get undeclared identifier `Clock' when I reference it in my code:
e.g. y := clock/1000-y1
I thought Clock is a predefined global function.
It is not.
What should I do in order for the compiler to recognize the clock command?
If `Clock' stands for what the name suggests, you can write your own one using the `Date' and `Time' routines. Please search the documentation for these words and `GetTimeStamp'.
Hope this helps,
Peter