homepage › Forums › BridgePoint/xtUML Usage and Training › Inline C source in actions
- This topic has 2 replies, 2 voices, and was last updated 2 weeks, 2 days ago by
Schmill.
-
AuthorPosts
-
November 17, 2023 at 1:24 pm #7736
Schmill
ParticipantThe document[1] mention the ability to intermix target source code with action language with this example:
/*#inline
// 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!November 17, 2023 at 5:16 pm #7737cort
KeymasterThis feature was supported in the past. It is no longer supported in MC-3020.
November 17, 2023 at 10:46 pm #7738Schmill
ParticipantOkay, thank you.
-
AuthorPosts
- You must be logged in to reply to this topic.