PicoMite/VGA/Web V5.08.00: Release candidates


Author Message
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3321
Posted: 10:53pm 17 Jan 2024      

Print DIR$(fspec)
Returns the first item that matches "fspec". to get the next item follow with:-
Print DIR$()
and so on.

To list all at once use FILES fspec$ (posibly command line only)

See page 143 of the draft manual.
  Quote  This example will print all the files in a directory:
  f$ = DIR$("*.*", FILE)
    DO WHILE f$ <> ""
    PRINT f$
    f$ = DIR$()
  LOOP
You must change to the required directory before invoking this command.

Edited 2024-01-18 09:00 by phil99