why I have this error???
MENUS.C(245): warning C206: 'wbyte': missing function-prototype MENUS.C(245): error C267: 'wbyte': requires ANSI-style prototype
Isn't it obvious from the messages?!
Read them again, carefully: they tell you that the function requires a prototype, and that the prototype is missing.
Clearly, to fix this error, you need to provide the prototype - don't you?!
Remember that 'C' is case-sensitive - so "WBYTE" (uppercase - as you put in your message title) is not the same as "wbyte" (lowercase - as shown in the compiler messages)...
in the book write this function is predefined functions is like memset(and for this function I don't have any error) and with UPCASE is same error
Looks like you've either got a bad book or you are not reading it correctly.
View all questions in Keil forum