Question: subs and raise to power of

Hi!

Im having some weird results when using either subs or sum with a variable able to take on different values. I have been able to reduce the problem into the following:

 

>subs(x=0, 0^x )

 answer: 0

But when i simply type:

> 0^0 

the answer is the correct:  1

 

Why is this happening? (same thing often also occurs when i use sum, eg it says that sum(0^x * a , l=-3..3 ) = 0 , when clearly the answer should be a ) 

And more importantly , how can i write this so that maple understands?
  

Please Wait...