Quote: "It looks like your using a comma instead of a period."
that's because the (mp3) is not being used to assign an extension, it is a variable being used to track the number of mp3's
Quote: "if you have the music in a folder called "songs" for example, then modify the line to read
load music "songs\"+music_playlist$(mp3),mp3 "
you might want to note this: SET DIR Path$(3)
that's what i use to set the path by doing this at the beginning of the entire code : dim Path$(8) and then defining them like this:
Path$(1) = ("..")
Path$(2) = ("accounts")
Path$(3) = ("system")
Path$(4) = ("music")
Path$(5) = ("screenshots")
Path$(6) = ("audio")
Path$(7) = ("graphics")
Path$(8) = ("backups")
- - -
i tried a lot of different syntax already including and excluding quote use and nothing has worked but thanx for the feedback peeps, i'll toy with it a little more later and post back if it works.
now that i know what quotes do (thanx Mentor), i'll keep it in mind. i also should note that this:
load music music_playlist$(mp3),mp3
is the way i originally wrote it and it's what i keep comming back to, but still getting that error from it. that is definately the bad line though. i've even tried keeping simple filenames and loaded them normally to make sure they load and play and they do, just not with this algorythm for some reason ...
i'll also try taking out my PATH command and enter the path with the LOAD MUSIC line, maybe that's the problem.
and i might change my bottom quote to "if you don't completely know what you are doing then it will be trial and error programming for you!" :p
AMD Athlon XP 2700 (2.17GHz @ 333FSB) 1GB DDR333 RAM & 256MB ATI Radeon 9600 & 2x120GB HDDs one EIDE 133 and one SATA 150 on Gigabyte 7VT600 with MS Windows XP Pro