X11Basic
X11Basic copied to clipboard
[enhancement] file selector in windows version
The Fileselector is limited to the drive you choose at the start. There is no way to choose drives. This doesn't happen in GFA BASIC for TOS, the fileselector there allows you to choose the drive. Some more documentation is needed in how the Fileselector command works, especially since unix and TOS have different seperators for directories.
Why not simply enter the "A:" or "B:" in front of the path? Same as in TOS (1.0)
Well, I started my TOS experience on 4.04 so I don't know what TOS 1.0 does. I think they had fixed that by 1.02.
In this specific use case the user might need to navigate their entire PC in order to get a file that will be processed. They might have it saved in C:\Downloads or E:\ which is a flash drive etc.
I've not been able to test it in Linux (since I can't run the fileselector there, see issue #23) but I guess it might be similar there as well.
I think I might be able to find a workaround for that but you might want to keep it in mind.
In later versions of TOS, there had been a bunch of Buttons integrated for selecting the drives (A:, B:, C: etc...) This has not been implemented in X11-Basic because it is mainly used on linux systems. However, why not have it? Just someone needs to take the time to implement it.
- see which drives are there,
- then enable the buttons in the Filesector.
- Have callback functions if clicked on them to change the path and reload the directory.