I am convinced this is not a user error... I've gone through the logic a hundred thousand times, and I don't understand what is wrong with my code. I'm using an older version of DB Classic, so maybe it's a bug. Perhaps there's a way around it? Well, long story short, I'm trying to create a very simple yu-gi-oh dueling game so I can duel my friends online. (I know, I'm truly the worst type of nerd...) This game will not be any more structured than real life, so cheating would be easy, but this is only for fun among friends, so I'm not too worried about that. I wanted something quick and simple to make.
So, in the very beginning of the program, I have to load all the card images. (data for each card will be inserted later) I have it set up so you can throw jpegs into a folder called "Cards", and the program will then go through and load all images in that folder...well it SHOULD. That's where the issues begin. What's wrong with my code?
rem - populate card library
if path exist("Cards") = 0 then make directory "Cards"
set dir "Cards"
perform checklist for files
for card = 1 to checklist quantity()
card$ = checklist string$(card)
load image card$,card
next card
Any and all help appreciated. -OP