Hi,
Clipper doesn't make any conversion on the filename,
it just returns you what the OS returned.
Harbour does the same, and returns what the OS returns,
which is in this case the original casing of filenames.
Pls remember you switched OS platform also, not just
the compiler and certain behavior (like this) is tied to
the platform, not the compiler itself. For some of the
differences Harbour offers MS-DOS "emulation", I hope
someone can help in these (I'm personally not using them),
look around _SET_FILECASE and friends.
Brgds,
Viktor
On 2010 Feb 3, at 22:45, smu johnson wrote:
> Hi,
>
> Filenames are not converted to uppercase by Harbour functions such as
> Directory() was in Clipper.
>
>
> #include "Directry.ch"
>
> FUNC MAIN()
>
> aDirectory := DIRECTORY("*.txt", "D")
> AEVAL( aDirectory, {|aFile| QOUT(aFile[F_NAME])} )
>
> RETURN
>
> /*
>
> __ HARBOUR (02/03/2010 01:18 PM 5 test.txt)
>
> C:\hbm>hello
>
> ---------------------
>
> __ CLIPPER (02/03/2010 01:15p 11 test.txt)
>
> C:\ver8\PRGS>hello.exe
>
> TEST.TXT
>
> */
>
>
> --
> smu johnson <[email protected]>
>
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour