In another thread, another category, far, far away... Ok, really only a click on the dropdown, I showed a list of mp3 files I'm currently adding to. I'm new to this digital music fad (it will all be done telepathically in the future I'm sure) and wondered what others listened to. Now, if you just don't feel like typing out your whole list of Bangles and Pure Prarie League titles, below is a little sample program that will help all you Foxpro listeners out there. I had a couple people tell me the songs they like, but I would really like to hear more. Literally.
Oh, and I hope this doesn't degenerate into a debate about the shortcomings of my code... <g>
SET DEFAULT TO "C:\blah\blah\music directory\"
gnSongListNumber = ADIR(gaSongList, '*.mp3') && Create array
CLEAR
FOR nCount = 1 TO gnSongListNumber && Loop for number of Songs
STRTOFILE(gaSongList(nCount,1)+CHR(13),"c:\blah\blah\whatever directory\SongList.txt",.T.) && Put filenames into file
ENDFOR
RETURN