Unknown Identifier error message

Don,
You’re looking at the code in the embeditor. So the line numbers there are different to the CLW.
When it looks wrong, it likely is, because the Errors-pad-click does not always take you to the right place.

Check the name of the CLW in the Errors pad. Open that CLW. Go to the reported line number.
What code do you see there?
That’s the code with the bug in it.

Cheers
Bruce