The Phone Losers Of England Presents: Last Updated 6th of January 2001
Back To Code Arena
REM This example shows how you can read
REM the contents of a directory.
REM Currently it is set up to read the
REM contents of the ROM drive.

PROC FILE:
  LOCAL x%,x$(128)
REM change the following line to change
REM the directory looked at.
  PRINT DIR$("ROM::")
  DO
    x$=DIR$("")
    PRINT x$
    IF x%=15
      GET
      CLS
      x%=-2
    ENDIF
    x%=x%+1
  UNTIL x$=""
  GET
ENDP
This Site Is © Copyright Project Atlantis, 2000-2001