Is there a case-insensitive #FIX or #FIND in the template language?

Applies to: the template language, posted in the Clarion 11 group; no build number named.

Problem

A template reads file names from a text file and must #FIX to %File. The dictionary has SomeFile, the text file has SOMEFILE:

#FIX(%File, 'SomeFile')     works
#FIX(%File, 'SOMEFILE')     fails

Solution

Add the NOCASE attribute to the statement:

#FIX(%File, 'SOMEFILE'),NOCASE

The poster confirmed it worked.

Caveats

  • The poster said he had checked the F1 help and the template language guide and found no mention of NOCASE, so this entry rests on the thread only.
  • A reply asked why file names were hard-coded; the poster explained the names are read from a rules file that drives generated conversion code.
  • The title mentions #FIND too, but the thread tested only #FIX.

Today (2026)

Not re-tested. Likely still works on a current build; try it on the statement you use.

Sources: Kevin E. (Aug 2023, the question), alsospb (Aug 2023), Geoff (Aug 2023), Carl S. (Aug 2023) in sv.clarion.clarion11.