homepage › Forums › BridgePoint/xtUML Usage and Training › Declaring Domain-specific in OAL expressions
- This topic has 2 replies, 2 voices, and was last updated 2 years, 2 months ago by
Schmill.
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
January 4, 2024 at 1:41 pm #7753
Schmill
ParticipantWhenever I have to pass a <<dataType> variable to an operation/event I would create an attribute for the self context in OAL. is there a more elegant way to declare a local variable of the data type without having to add a class attribute?
Thank you.
-
This topic was modified 2 years, 2 months ago by
Schmill.
January 4, 2024 at 1:46 pm #7755cort
KeymasterThere is not a more elegant way.
There is another equally awkward way.
You can create a function that returns that type… like I said, awkward.January 4, 2024 at 2:23 pm #7756Schmill
ParticipantThank you
-
This topic was modified 2 years, 2 months ago by
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.