Question: How to specify two or more conditions in an if statement?

I tried to skip some iterations of a do loop, by using the following code:

for i from 1 to 19 do
if i=8 or i=16 then
  next
end if:

...

 

Unfortunately Maple just accounts for the i=8 but not for the second condition i=16.

How may I specify more than one condiions in an if statement?

Please Wait...