Next: PLOTTING Up: A Short Maple Primer Previous: LOOPS

CONDITIONAL CLAUSES

General syntax: if x>0 then a:=x else a:=-x fi:

if x>0 then s:=1 elif x=0 then s:=0 else s:=-1 fi;


bondaren@thsun1.jinr.ru