I can't see anything intrinsically wrong with the code you've posted... could you post the code in context as well as copy the full compiler error message?
Type: Posts; User: helloworld922
I can't see anything intrinsically wrong with the code you've posted... could you post the code in context as well as copy the full compiler error message?