[next] [prev] [prev-tail] [tail] [up]
An error in maple raises an exception. So, use try catch to trap it as follows:
try v,pos:=MMax(4); catch: printf("an error is cought\n"); end try;
[next] [prev] [prev-tail] [front] [up]