If the message doesn't make sense after looking (carefully) at your code, then I suggest you look (carefully) at every working example in your textbook, class notes, on-line tutorial or whatever...