[Gambas-devel] Stat command

Nigel Gerrard nigel at ...2...
Mon Feb 17 16:04:38 CET 2003


If the Stat command is passed a non-valid pathname or the file does not exist, 
an exception is thrown.

For example in the Open Project Dialog (FSelector), if a name is entered in 
the project line which doesn't exist, the whole IDE crashes.

Wouldn't it be better for an invalid file type to be returned for File.Type - 
which could then be tested?

Nigel






More information about the Devel mailing list