OpenFile with #PB_Any
OpenFile with #PB_Any
Is supposed to return > 0 if okay or 0 if there was an error. At the moment though it returns [object Object]
Re: OpenFile with #PB_Any
Could you post a small snippet showing the issue ? It seems to display a number here:
Code: Select all
Debug OpenFile(#PB_Any, "", 0)
Re: OpenFile with #PB_Any
Sorry, for some reason it happens when not using #PB_Any :
You get :
Code: Select all
Debug OpenFile(0, "", 0)
[object Object]
Re: OpenFile with #PB_Any
It returns nonzero if it doesn't fail (like all other commands, when using a number it returns the same value as xxxID() function).