Basics... Basics... Right well, where do we start...
Do you have any programming experience?
If no, then I hate to say it but don't even attempt trying to comprehend them. If you really really want to get into programming then I suggest you buy a book about it. Now, I'm not going to push what languages I think you should use, but I learnt Pascal first. Go have a Google for Pascal and try out your skills on that until you know your procedures from your functions, come back and then we can go from there.
If you know a bit about programming, then what language do you program in? Or rather, what do you feel comfortable using.
If you know loads about programming, then you wouldn't be here asking this question!