There is a picture that shows the problem in the code lines (fail).
Which product are you currently using?
It would be helpful if you could specify which example code you are currently running, so that we can try to reproduce the problem and provide a solution.