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.
now I have this warning
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL SYMBOL: __RFLOAT MODULE: MENUS.obj (MENUS) *** WARNING L1: UNRESOLVED EXTERNAL SYMBOL SYMBOL: ?__RFLOAT?BYTE MODULE: MENUS.obj (MENUS) *** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: ?__RFLOAT?BYTE MODULE: MENUS.obj (MENUS) ADDRESS: 1E9BH *** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: __RFLOAT MODULE: MENUS.obj (MENUS) ADDRESS: 1EA9H
Sounds like something to do with Floating point (maths).
Are you using the free evaluation tools?
Remember that one of the limitations of the free evaluation tools is that they don't support floating point...