Article View: alt.lang.basic
Article #51directory in basic
From: Michael D. Beynon
Date: Mon, 06 Apr 1992 20:06
Date: Mon, 06 Apr 1992 20:06
14 lines
976 bytes
976 bytes
I don't know what version of basic you are using, but if you have access to
PDS 7.0+ you could use...
F$ = DIR$("*.*")
DO
'process filename in F$ here
F$ = DIR$
LOOP UNTIL F$ = ""
If you don't have PDS 7.0+, all the other suggestions here work, but when I
did it, I wanted to have it all in basic. I could dig up my code if you want
to see it, but it is a single subroutine that gives you all of the information
from the directory into a TYPEd array.
Technical Details
Message-ID:
<1992Apr6.200617.15708@crd.ge.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!crdgw1!rdsunx.crd.ge.com!nnn!beynonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!crdgw1!rdsunx.crd.ge.com!nnn!beynon From: beynon@nnn.crd.ge.com (Michael D. Beynon) Newsgroups: alt.lang.basic Subject: directory in basic Keywords: dir Message-ID: <1992Apr6.200617.15708@crd.ge.com> Date: 6 Apr 92 20:06:17 GMT Sender: usenet@crd.ge.com (Required for NNTP) Reply-To: kolb@crd.ge.com Organization: GE Corporate R&D Center, Schenectady, NY Lines: 14 Nntp-Posting-Host: nnn