Enrico, IMHO, either 2 (file not found) or 3 (path not found) are right. At any way, the directory does not exist. It seems the way that directories are treated by xHarbour like file, not path.
my 2 cents. regards, Eduardo --- Em sáb, 24/7/10, Enrico Maria Giordano <e.m.giord...@emagsoftware.it> escreveu: > De: Enrico Maria Giordano <e.m.giord...@emagsoftware.it> > Assunto: [xHarbour-developers] Bug in DirChange() > Para: "xHarbour Developers Mailing List" > <xharbour-developers@lists.sourceforge.net> > Data: Sábado, 24 de Julho de 2010, 7:52 > The following sample > > FUNCTION MAIN() > > ? DIRCHANGE( "Notfound" ) > > INKEY( 0 ) > > RETURN NIL > > gives the following result: > > Clipper 5.3b: > > 3 > > xHarbour: > > 2 > > EMG > > -- > EMAG Software Homepage: http://www.emagsoftware.it > The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum > The Best of Spectrum Games: http://www.emagsoftware.it/tbosg > The EMG Music page: > http://www.emagsoftware.it/emgmusic > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > xHarbour-developers mailing list > xHarbour-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xharbour-developers > ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers