added logic for hb_file()

This commit is contained in:
Leslee Griffith
1999-05-30 17:10:30 +00:00
parent 907afa3849
commit 5b27a88cfc

View File

@@ -610,9 +610,11 @@ HARBOUR HB_FILE()
if( arg1_it )
{
/* TODO: I'm thinking about this :( */
last_error = 0;
access(_parc(1), 0);
last_error = errno;
}
_retl(0);
_retl(last_error==0?1:0);
return;
}