Hi,
my friend found DIRECTORY() function incompatibility with clipper, when he tries to get file list by passing path with terminating "\" character.
PROC main() ? LEN(DIRECTORY("c:\harbour\source\rdd")) ? LEN(DIRECTORY("c:\harbour\source\rdd\")) ? LEN(DIRECTORY("c:\harbour\source\rdd\*.*")) ? LEN(DIRECTORY("c:\harbour\source\rdd", "D")) ? LEN(DIRECTORY("c:\harbour\source\rdd\", "D")) ? LEN(DIRECTORY("c:\harbour\source\rdd\*.*", "D")) RETURN Clipper: 0 35 35 1 46 46 Harbour: 0 0 35 1 0 46 Best regards, Mindaugas _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour