[fpc-pascal] Function for checking correct file name

Graeme Geldenhuys graeme at geldenhuys.co.uk
Fri Sep 14 17:44:33 CEST 2012


On 14/09/12 13:48, Krzysztof wrote:
> I just quicky googled not allowed characters and wrote this simple function:

Also in Windows (as far as I know), file names my not be longer than 255 
characters. So you will have to check the length of AFilename parameter too.


Regards,
   - Graeme -




More information about the fpc-pascal mailing list