Question: Programming If then elif else

Hi all,

I'm having a dickens of a time trying to get the following simple conditional statement to work:

> restart;
>
>
> p := 6;
> q := 8;
> delta := 4;

> if ((q>0) and (p<0))then print(Node)
elif (q<0)then print(Saddle)
elif((p=0) and (q>0))then print(Center)
else print(Spiral)
end if;

Error, Got internal error in Typesetting:-FI : "'_Inert_DELAYBOOLEAN' is not a valid inert form"
Typesetting:-mambiguous(if ((qgt0)and(plt0))then printApplyFunction(Node)

After I compute the values of p,q,and delta I want a ptinted line to tell me the type of Critical Point I have. I am using Maple 10 Student with WIN XP Pro

Any help will be appreciated

TIA

Larry Ciak
aka malt_master@comcast.net



elif (qlt0)then printApplyFunction(Saddle) elif



ApplyFunction((pequals0)and(qgt0))then printApplyFunction(Center)



else printApplyFunction(Spiral) end ifsemi, Typesetting:-merror("Got



internal error in Typesetting:-FI : "'_Inert_DELAYBOOLEAN' is not a valid



inert form""))
Please Wait...