ANSI C Conversion

In ASCET, ANSI C compliant naming is enforced for all database/workspace items for versions above 2.x. When adding new items or renaming existing ones, you must use valid ANSI C identifiers.

The conversion of folder and item names in existing databases/workspaces can be triggered explicitly, see Converting a Database/workspace to ANSI C. All folder and item names are converted automatically, special characters are replaced as displayed in the following table. Names that are reserved keywords are appended a number: _<n> (<n> being the lowest available integer).

Special Characters

Mapped to

Example

Ä, ä, Ö, ö, Ü, ü, ß

Ae, ae, Oe, oe, Ue, ue, ss

Maß --> Mass

letters with diacritics, <space>, <dash>, <dot>

<underscore>

réel --> r_el

, ; : ! ? / \ | ( ) [ ] { } < > # + *

<ignored>

Class\test --> Classtest

Note

The conversion does not modify C code and ESDL code. Therefore, errors will occur in hand-written code which contains elements whose names are changed by the conversion to ANSI C.

If, e.g., an ClosedESDL component contains a variable originally named Switch (a reserved keyword), the variable is renamed to Switch_1, but the occurrences in the ESDL code still read Switch.

See also

Reserved Keywords

Converting a Database/Workspace to ANSI C