OC Error of using the non-English character µ as variable name


Version: 2018

Type: Bug Fixes

Category: Programming

Subcategory: Origin C

Jira: ORG-17086


Fixed in Origin 2018. When there is a non-English character µ in variable name, it will fail to compile.

Introducing a new system variable @SID to control this, it has the following meanings:

  • @SID = 1 (default): stricter variable (identifier) naming convention checking when compiling, so the non-English characters such as the µ above won't work.
  • @SID = 0: loose naming check for identifiers, so it will be compiled successfully.