By downloading this code you agree to the
Source Code Use License (PDF). |
{ version = 1.03; (* of timefpc.p 2016 Jul 26}
(* begin module describe.timefpc *)
(*
name
timefpc: test time on the Free Pascal (fpc) compiler
synopsis
timefpc(output: out)
files
output: show the current time.
description
The time function returned by various computers is different. Show the
time function to figure out how to modify the getdatetime procedure.
This program contains routines for obtaining the date and time
for Delila programs compiled with the fpc compiler.
They can be easily transferred to other programs using the module
program. The script upgrademodule will do this.
NOTE: For now the file extpas.pp must be compiled by fpc this way:
fpc -ap extpas.pp
The resulting extpas.o and extpas.ppu must be in the same
directory as the program to be compiled.
Programs can then be compiled with
fpc -Miso -ap -Faextpas PROGRAM.p
The fpcc script does all these steps.
examples
Times should look like this:
1980/06/09 18:49:11
ye mo da ho mi se
documentation
see also
The module program, used to transfer the modules is: module.p
The FPC compiler is described at:
http://www.freepascal.org/
The FPC time routines are described in
http://www.freepascal.org/docs-html/rtl/sysutils/datetimeroutines.html
see the section: TIME HANDLING ROUTINES
To compile Delila programs on the FPC compiler, use the fpcc script.
PROBABLY THIS IS IRRELEVANT:
Until fpcc gets smarter, for this program it is necessary to use the -time
flag:
fpcc timefpc.p -time
Related date/time programs:
timesun.p
timep2c.p
timegpc.p
General discussion on compiling Delila programs:
https://alum.mit.edu/www/toms/delila.html#How.To.Compile
author
Thomas Dana Schneider
bugs
technical notes
*)
(* end module describe.timefpc *)
{This manual page was created by makman 1.45}
{created by htmlink 1.62}