 <p>It is probably that you enter the value of <code>letter</code> without quotes. It then treats the content of <code>letter</code> as a function. Since it can't find the function, it throws a syntax error exception.</p> <p>Try closing <code>letter</code> in quotes ("letter")</p>