08-23-2025, 10:14 AM
For SpriggsySpriggs, but also for those who can contribute.
Good morning... everything okay? I hope so...
I’m trying to use your pipecom function for various purposes. One, for example, is the classic return of a DIR.
The problem is that, it seems, when I run it once everything works perfectly.
However, if I immediately invoke the function again, it gets stuck. For example, inside a simple loop - but the problem is not the loop! - if I choose a folder and want to know if there are PDF files inside, the first time it gives me the answer (positive or negative); if I then choose another folder right after, the function gets stuck.
Perhaps, before being invoked - or rather, when it exits - it needs to be reset in some way to make it available for subsequent uses?
Thank you!
P.S.
It seems to me that there are no alternatives from within QB64. Something else could be done with Python or C, but I believe the execution would be too slow: let me know if I'm wrong!
Good morning... everything okay? I hope so...
I’m trying to use your pipecom function for various purposes. One, for example, is the classic return of a DIR.
The problem is that, it seems, when I run it once everything works perfectly.
However, if I immediately invoke the function again, it gets stuck. For example, inside a simple loop - but the problem is not the loop! - if I choose a folder and want to know if there are PDF files inside, the first time it gives me the answer (positive or negative); if I then choose another folder right after, the function gets stuck.
Perhaps, before being invoked - or rather, when it exits - it needs to be reset in some way to make it available for subsequent uses?
Thank you!
P.S.
It seems to me that there are no alternatives from within QB64. Something else could be done with Python or C, but I believe the execution would be too slow: let me know if I'm wrong!


