Keil™, An ARM® Company

Technical Support

DSCOPE: ERROR 123 (IDENTIFER EXPECTED)


Information in this article applies to:

  • C51 Version 5.50

SYMPTOMS

In my project, I have declared a variable called "button". When I try to set a watchpoint on this variable in dScope, I get the following error:

ERROR 123: IDENTIFER EXPECTED

What is wrong?

CAUSE

The name "button" is a reserved word in dScope, and you cannot set a watchpoint on the variable because of this.

RESOLUTION

You may use the back quote character ("'") to literalize symbols in your program that duplicate reserved words in dScope. Alternatively, you may rename the variable.

MORE INFORMATION

Refer to page 97 in the dScope for Windows User's Guide (01.97) for more information about Literal Symbols. Refer to pages 194 to 195 in the dScope for Windows User's Guide (01.97) for a list of dScope commands.

Last Reviewed: Thursday, June 10, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure