Hello,
I found the new function ISFILE() very useful.
At first I used it the wrong way like that :
This code could not work properly; I understood later that I was wrong because from the documentation, the value true (-1) is returned when the file is found and the value for the numeric equates %TRUE is 1; so here is my question :
Why the true value (-1) returned by the ISFILE function is different from the numeric equates %TRUE (1) defined in Win32API.inc ? or why the value for numeric equates %TRUE is 1 and not -1 in Win32API.inc ?
Thanks
Jean-Pierre
I found the new function ISFILE() very useful.
At first I used it the wrong way like that :
Code:
IF ISFILE(lFilename) = %TRUE THEN ...
Why the true value (-1) returned by the ISFILE function is different from the numeric equates %TRUE (1) defined in Win32API.inc ? or why the value for numeric equates %TRUE is 1 and not -1 in Win32API.inc ?
Thanks
Jean-Pierre
Comment