Like bobbel said, you first need to read some tutorials to learn the basic elements of programming - variables, arrays, commands, and stuff like this. If you have a lot of time, you can read this:
http://forum.thegamecreators.com/?m=forum_view&t=137027&b=7
Otherwise just go to the Tutorials thread at the top of this board and looks for the Variables, Arrays, Types, and Functions tutorials (in that order).
Once you've learned how to use those things, the best learning experience is to take some code someone else has written (from the Code Snippets or 20-Line Challenge board) and run it. Think of something that might make it better, or more fun, or funnier, and see if you can change the code to make it do that.
In my opinion this is the best way to learn programming from scratch.