Question: first programm in maple

Hey
I have just started with maple and I it is a little bit confusing for me  an I am tryin to implement the sieve of eratosthenes algorithm

but I am still getting strang warnings and the programm does not function as wanted so i wanted to use the debugger but
it is not working(it is like disabled)
I have maple 12
I will be glad to get a help
thanks 

 

Please Wait...