KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Backward Compatibility Syntax Error
PRODUCT: 4D | VERSION: 18 | PLATFORM: Mac & Win
Published On: April 12, 2021

You may encounter the following error when trying to compile your code:

Backward Compatibility Syntax Error. This method was tokenized with a newer version of 4D. Please open method and retokenize (CTRL-Enter) if you believe line to be correct.

This compilation error may occur when the database has been converted from an older version of 4D. To fix this, go into the Compatibility tab of your database’s Structure settings and toggle ON the “Use object notation to access object properties” setting (under Database).