Re: [fpc-pascal] Dos unit for Windows

2019-01-30 Thread Marco Borsari via fpc-pascal
On Wed, 30 Jan 2019 15:14:12 +0100 Marco van de Voort wrote: > Windows attributes can be > 8-bits, see e.g. > https://docs.microsoft.com/nl-nl/windows/desktop/FileIO/file-attribute-constants. But the Dos unit is in Windows for compatibility, if one need the extended attributes there is the equi

Re: [fpc-pascal] Dos unit for Windows

2019-01-30 Thread Marco van de Voort
Op 2019-01-30 om 14:18 schreef Marco Borsari via fpc-pascal: I noted that two bytes are reported as a result, thought IIRC in DOS only the low byte is affected while the high one should be zero, so the assignment would become attr:=l and $ff; Waiting for your comments, Windows attribute