In fact there's no straightforward way to do that in GW-BASIC. Programs of the time would in fact run FILES and read the output back from video memory with the SCREEN or PEEK function... Welcome to the 80s :)
😄
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm aware one can use FILES to list directory contents to screen.
However I can't see a way to programmaticaly iterate over files in a directory.
I can't believe that GW-BASIC didn't provide a straightforward mechanism for scanning files from a directory.
Has anyone ever tackled that problem?
In fact there's no straightforward way to do that in GW-BASIC. Programs of the time would in fact run
FILES
and read the output back from video memory with theSCREEN
orPEEK
function... Welcome to the 80s :)