Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_File$ is not behaving as expected, cannot determine why
#4
From digging into a little more in our Dev channel on Discord:

It looks like a bug/unintentional to me, KILL/FILES/_FILES$ all call into the same logic to do the file searching which has a static `DIR *`, so calling one of them resets the state of `_FILES$`. Presumably it should have it's own separate state.

**************

So it's something likely to change and be fixed in a future release. Until then though, reading it into an array would let you work around the issue.
Reply


Messages In This Thread
RE: _File$ is not behaving as expected, cannot determine why - by SMcNeill - 10-10-2024, 12:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Sad Is there a way to determine screen resolution ? doppler 2 727 08-03-2023, 02:30 PM
Last Post: doppler
  Is this a problem with _RESIZE or expected behavior? hanness 7 1,583 06-01-2023, 04:04 AM
Last Post: mnrvovrfc
  Looking for a reliable way to determine if a drive letter is in use hanness 24 4,792 05-13-2023, 02:02 PM
Last Post: hanness
  Is it possible to determine the screen scaling factor within QB64? hanness 3 844 05-09-2022, 01:37 AM
Last Post: hanness

Forum Jump:


Users browsing this thread: