English

Error: Parser error: syntax error

Error Message

Attempting to access an item in EditTools produces this error:

"Parser error: syntax error
Program variable parse syntax error

An error has occurred in routine: edit (EDIT_FAT.AML)."

A similar error occurs when accessing the same item with DEFINE in INFO or Tables, ALTER in Tables, or with a cursor in any of the ArcInfo modules.

Cause

The item is improperly named. It may contain one of the following character strings:
._
_.
#_
_#

For example, an item named SUPPLIER._LOC will return the above error in EditTools.

Solution or Workaround

Use the ALTER command in Tables to change item names to exclude the problem characters. For example, ALTER the item name SUPPLIER._LOC to SUPPLIERLOC.