> Anyone has a simple but good BASIC "routine" to read the contents of a
> directory and put it into variables.... I need this to do a simple
> "launcher" application. It shows the contents of a directory filtered by
> 'executables', but I need this routine... anyone can help? thanx!

Set textcolor to backgroundcolor, clear screen, do FILES "*.LDR" and PEEK
the filenames out of the VRAM. Take in account that when using MSX-Dos2 the
first line displays the current directory. So search the first line for a
:-sign. If it is there, then skip the first line.

I have done this before, so it works.


~Grauw


--
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<
          email me: [EMAIL PROTECTED] or ICQ: 10196372
             visit the Datax homepage at http://datax.cjb.net/
MSX fair Bussum / MSX Marathon homepage: http://msxfair.cjb.net/
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<


****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to