Re: [Gambas-user] Checking whether a file exists

2011-07-17 Thread Benoît Minisini
> > It is backward compatible with the old syntax. > > Oops. The syntax is compatible, but not the bytecode. I will update the > bytecode version, and all projects will have to be recompiled. > > Regards, I found a trick in revision #3941, and no recompilation is needed anymore. New Exist() is

Re: [Gambas-user] Checking whether a file exists

2011-07-17 Thread Benoît Minisini
> > It is backward compatible with the old syntax. > Oops. The syntax is compatible, but not the bytecode. I will update the bytecode version, and all projects will have to be recompiled. Regards, -- Benoît Minisini ---

Re: [Gambas-user] Checking whether a file exists

2011-07-17 Thread Benoît Minisini
> hi, > > in a project, i am searching directories recursively and opening files > to search their content, too. > while searching in the gambas2 sources my program crashed with "File or > directory doesn't exist". so i noticed this one > > ? sFile > ".../main/ltmain.sh" > ? Exist(sFile) > True >

Re: [Gambas-user] Checking whether a file exists

2011-07-12 Thread Benoît Minisini
> 2011/7/12 tobias : > > hi, > > > > in a project, i am searching directories recursively and opening files > > to search their content, too. > > while searching in the gambas2 sources my program crashed with "File or > > directory doesn't exist". so i noticed this one > > > > ? sFile > > ".../ma

Re: [Gambas-user] Checking whether a file exists

2011-07-12 Thread Fabien Bodard
2011/7/12 tobias : > hi, > > in a project, i am searching directories recursively and opening files > to search their content, too. > while searching in the gambas2 sources my program crashed with "File or > directory doesn't exist". so i noticed this one > > ? sFile > ".../main/ltmain.sh" > ? Exis

[Gambas-user] Checking whether a file exists

2011-07-12 Thread tobias
hi, in a project, i am searching directories recursively and opening files to search their content, too. while searching in the gambas2 sources my program crashed with "File or directory doesn't exist". so i noticed this one ? sFile ".../main/ltmain.sh" ? Exist(sFile) True ? File.Load(sFile) Fi