[fpc-pascal] WeekDay outdated?

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Aug 13 11:42:02 CEST 2012


Jürgen Hestermann wrote on Mon, 13 Aug 2012:

> Am 2012-08-13 11:08, schrieb Jonas Maebe:
>> The weekday function only exists in the unix version of the Dos unit.
> That's strange (and not documented).

It's because the documentation is generated under Linux using fpdoc  
(which is the only scenario that is used/tested/supported for  
generating the documentation), and hence fpdoc sees the RTL as it  
would be compiled under Linux. It has no idea that a particular  
function may not be present under other OSes (and generally that  
simply should not happen for common units, or at least be hidden from  
fpdoc).


Jonas



More information about the fpc-pascal mailing list