Inline C source in actions

homepage Forums BridgePoint/xtUML Usage and Training Inline C source in actions

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #7736

    The document[1] mention the ability to intermix target source code with action language with this example:
    // Don't Panic
    int a = 42;
    printf( "The answer is %d\n", a );

    Unfortunately, adding these inline snippets does not produce anything in the generated source. I suspect that the document is out of date, but I desperately look for such functionality because my only working method now is to make changes to the model, and then build to generate the source and then overwrite the relevant file in gen from src. this is really tedious, especially when I make multiple changes to the model.

    I Also tried to change the action dialect to C, but no luck there either, it does not produce any source.
    What am I missing?
    Many thanks!



    This feature was supported in the past. It is no longer supported in MC-3020.


    Okay, thank you.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.