Page 1 of 1

exists(), the return value is incorrect.

Posted: 07 Feb 2019 11:55
by MrYang

Code: Select all

msg exists ("");

The return value is 2. I think the return value should be 0.


In version 19.50.0200, 0 is returned.
Up to version 19.60.0000, 2 is returned.

Re: exists(), the return value is incorrect.

Posted: 07 Feb 2019 12:03
by MrYang
In version 19.50.0200, 0 is returned.
Up to version 19.60.0000, 2 is returned.

Re: exists(), the return value is incorrect.

Posted: 07 Feb 2019 12:05
by PeterH
If I see it right, this defaults to the current path, and that is a folder.
(See example "XYplorer.exe"!)

Though I think this default isn't documented very good :ninja:

Re: exists(), the return value is incorrect.

Posted: 07 Feb 2019 12:47
by admin
Gonna fix that...

Re: exists(), the return value is incorrect.

Posted: 07 Feb 2019 14:14
by admin
Already fixed in beta v19.60.0007. Download latest beta here from the forum: viewtopic.php?p=166971#p166971