hi there, i have struct with the problem.in the multiplexing of the 7-segment display. as i complited the 7-segment display multiplexing. prog.is working properly. but when i moved to the next some advance step it give's the above msg. i think the problem is in the variable passing between function. because as i try to pass the local data to globle side
can any one explain me the passing the value's between two function. the function returning the value is in the main function and the function which recive's the value is out of the main function the function which recive's the value is out of the main function is the part of the interrupt routine the function which sending or returning the value is the part of main function
"i think the problem is in the variable passing between function."
Why do you think that?
The message is a syntax error; ie, what you have written is not valid C51 syntax.
dictionary.cambridge.org/define.asp
http://www.keil.com/support/man/docs/c51/c51_c141.htm
This could be a simple typo - eg, missing semicolon or spelling mistake.
Note that it says "near" - this probably means that the error is somewhere before the word "unsigned"
i checked all the thing's and only after that posted the msg. This could be a simple typo - eg, missing semicolon or spelling mistake. there is no such type of mistake
"there is no such type of mistake"
Well, clearly there is - or you wouldn't get the error!
The error relates specifically tou your source text - so, if you want help with it, you are going to have to post that source!
Please be sure to read the instructions for posting code: http://www.keil.com/forum/tips.asp
Use spaces to lay-out your code - not TABs (the interpretation of TABs is unpredictable).
Use copy-and-paste - do not manually re-type the code into your post!
View all questions in Keil forum