Syntax error: Illegal parameter for LIKE

Top  Previous  Next

This error occurs when you specify to audit a file that in fact it's not in use anywhere in your system. Meaning, the file exists in your dictionary, but Clarion is not generating its definition code because the file it's not in use in any template. To avoid this error, either

Unmark this file from the audit list file, or
Manually specify in your project that you are going to use this file in your system.

 

Which file is it?

When you see the error list, press the "Edit Errors" button.

 

clip0029

 

This takes you to the generated source code. You will see a list of LIKE declarations, and to the right, a comment with the name of the offending file.

 

clip0030

 

To remove this file from the list of audited files, go to Global Properties, Extensions, and in the "Auditing" tab, unmark the unwanted file.

 

clip0031

 

Alternatively, if you want to audit this file but you still are not using it in your system (or you are using it all by manual code), you may force the generation of this file declaration by entering the global properties, "Individual File Overrides". Entering the "Properties" button for this file, you may check "Generate file declaration" so the declaration is enforced in your app

 

clip0032

clip0033