Question: an unexpected error

I am a beginner in maple, these days I am learning maple user manual.

There is an example given by the manual:

___________________________________________

x:=872349

while x>0 do

irem(x,7)

x:=iquo(x,7)

end do

____________________________________________

I retype them in maple, but maple always returns "Error, illegal use of an object as a name"

I check my statements carefully, it is the same as the manual presented. But in my document,it give me an error.I feel very puzzled.

Can you help me? Thank you in advance.

Please Wait...