Converting a Database/Workspace to ANSI C
To convert a database or workspace to ANSI C, proceed as follows:
- Open the database/workspace you want to convert.
In the Tools menu, point to Database or Workspace, then point to Convert and select All Names to ANSI C.
The names of all folders, database/workspace items, methods, messages, variables, etc. are converted to ANSI C; according to the
mapping table for all special characters, punctuation marks and spaces. Names that are reserved keywords are appended a number: _<n> (<n> being the lowest available integer).Note
The conversion does not modify C code and ESDL code. Therefore, errors will occur in hand-written code that contains elements whose names are changed by the conversion to ANSI C.
If, e.g., an ESDL component contains a variable originally named Switch (a reserved keyword), the variable is renamed to Switch_1, but the occurrences in the code still read Switch.
When converting large databases, you should consider optimizing or converting your database after conversion to speed up database access (see Maintenance Routines).
See also