IBM Support

How to generate enum state variable in IBM Rational Rhapsody C with MICRO C.

Question & Answer


Question

How can I generate enum state variable in IBM Rational Rhapsody C with MICRO C?

Cause

You might have not included the CG::Statechart::GenerateEnumStateVariables which controls the generation of enum state variable.

Answer

Steps to follow:

1: Include the CG::Statechart::GenerateEnumStateVariables in site.prp file check it (on a
class/configuration/project/profile).

Attached is a compressed site.prp file for your reference.

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.1.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21984484