- John Brown
- PowerBuilder
- Monday, 18 April 2022 04:34 PM UTC
I have a block of code that fails in one instance, but not in another instance ...
It's the exact same piece of code.
My non-version controlled runs without issue.
My version controlled issue fails. ( significantly longer path to this file )
This is the statement that fails { I replace the file name }
IF FileExists("..\bin\filename") THEN
Could the path be too long in one instance? That's the only thing I can think of. I've verified that all the files are where they are supposed to be.
Additional question here :
I've been doing PB development for 26 years .. I've never seen someone use ".." in their path. What does that reference?
I've always seen the entire path declared.
Thanks!
- John
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.