why not try out these beginner tutorials?
http://www.2dgamecreators.com/tutorials/gameprogramming/basics/S1%20-%20First%20Program.html
and then this http://www.blitzmax.com/Community/posts.php?topic=59509
http://www.2dgamecreators.com/tutorials/gameprogramming/basics/S1%20-%20First%20Program.html
and then this http://www.blitzmax.com/Community/posts.php?topic=59509