[fpc-pascal] FileExists inconsistency

Daniël Mantione daniel.mantione at freepascal.org
Thu Jan 4 13:50:11 CET 2007



Op Thu, 4 Jan 2007, schreef Tomas Hajny:

> Marco van de Voort wrote:
> >>
> >> Whoops, I overlooked that part of his answer. You're right, I cannot
> >> either (PC-Dos 2000, no emulation). This is weird, because I have been
> >> able to do this in the past. But it has then been changed a long time
> >> ago
> >> already
> >
> > Afaik some of the FS Dos habits changed going from FCBS to handle based
> > programming. This could be one of them.
> 
> FCBS? I don't know when Daniel started coding, but handles have been
> supported since MS-DOS 3.3 at latest, so I wouldn't assume Daniel to
> remember those times that well? FWIW, I've never seen a DOS machine with
> equally named files and directories (nor such a machine with another
> DOS-like OS).

Well, I have a good memory, but... :)

Handles were introduced in Dos 2.0. The Dos version on my first PC was
4.0 (before I used a Commodore 64), so it cannot have been FCBS.

Daniël


More information about the fpc-pascal mailing list