Question: Ok so I have a intranet webpage that I am making using HTML and I want to put a link (absolute or relative) on my page that opens a PDF. 
 The code I use is 

```
<a href="http://harold.local/documents/sandP.pdf" target="_blank">Privacy and Security</a>

```

Now what ends up happening is that I get this error:

> 
> 404 - File or directory not found. The resource you are looking for
>  might have been removed, had its name changed, or is temporarily
>  unavailable.
> 
> 
> 

Is there anything wrong with my code or where I am placing the document?

Thank You

Answer: 
You want to use the `continue` statement, this skips the current iteration of the loop:

```
for i=1:10

    if (condition)
        continue;

    elseif (condition)
        (do something)

    else 
        (do something)

    end
end

```

See: <http://www.tutorialspoint.com/matlab/matlab_continue_statement.htm>
If you want to skip `condition2` if `condition1` is true, simply ask for the opposite:

```
for i = 1:10
    if ~(condition1)
        if (condition2)
            (do something)
        else 
            (do something)
        end
    end
end

```

The `~` ("not") will turn `true` to `false`, and the other way around. Since you want to execute both statements blocks (before and after the `else`) of `condition2` only if `condition1` is `false`, you have to check for it explicitly in each iteration.