Hi Frank
I've spent days on my tiny script with a heck of a lot of help from Al and Alex. Just when I think I've got one problem sussed, a bit of code that has been working perfectly all along suddenly, without any change in that part of the script stops working.
I don't know whether it's me or the program but since I haven't done anything . . .
I feel as if I've wasted my time and everyone else's as well
Stick with it Frank! Sometimes the reason why something doesn't work is down to a seemingly innocuous unrelated change elsewhere in your script and this can be extremely frustrating experience - but then programming does tend to be like that. Once you get your head around the way the
whole thing hangs together you'll find you get a better feel for where to look for the problems, but that takes time and a lot of practice.
QDK might shield you from the typing side - but you are still doing programming whether it is obvious or not.
You'll also find that programs are never perfect and some errors just have no logical reason that you can see. As you know Typelib 'threw a wobbly' on the de-aliasing of indirect objects in a player command - I never could see why that happened, I just erased the function call which had worked perfectly in the past, retyped it exactly as before and then it worked again... Has to have been some corrupted bytes in typelib. Quite why it surfaced then is one of those mysteries of programming life.
You suffered from the corruption in my version of typelib because I e-mailed you a version from my PC if you recall, so that extremely frustrating wierdness really wasn't down to anything you did at all.
"Getting over the hump" of learning enough to have your first piece work as you want is the hard bit, the trick is to not be over ambitious and finish something really simple first - it does wonders for your confidence and then you can go back and 'improve' it, knowing that you are starting with something you know works!
Al (MaDbRiT)