Login
Remember
Register
PlantUML Q&A
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
Inserting a plantuml code as an argument of a function
0
votes
asked
May 12, 2017
in
Bug
by
boshka
(
4,060
points)
Hi Plantuml team!
why this works:
@startuml
!define a(code) code
!definelong myXtraCode
a->b:hello
activate b
b->a:hello too
deactivate b
note right
test
end note
!enddefinelong
a(myXtraCode)
@enduml
but this - does not:
@startuml
!definelong a(extraCode)
a->b: some extra message
extraCode
b->a: some extra reply
!enddefinelong
!definelong myXtraCode
a->b:hello
activate b
b->a:hello too
deactivate b
note right
test
end note
!enddefinelong
a(myXtraCode)
@enduml
Your comment on this question:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail]
(--------)
To avoid this verification in future, please
log in
or
register
.
1 Answer
0
votes
answered
May 13, 2017
by
plantuml
(
298,440
points)
Thanks for the feedback!
We are currently working on the preprocessor, so some slight changes may occur...
This has been fixed in last beta
https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0
Regards,
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Related questions
pass plantuml directives as an argument to a macro
Reporting a diagram as requested when PlantUML threw an exception
Save PlantUML language code as part of the output diagram file
Error when inserting square brackets in an activity (beta)
**How to run PlantUML in VS Code using only a local JAR, ensuring no data is sent to an online server for security?**
All categories
Question / help
(1,710)
Bug
(1,760)
Wanted features
(1,480)
Closed question / help
(89)
Closed bug
(53)
Closed feature request
(130)
Won't fix
(3)
Won't implement
(14)
Can't help
(10)
To be deleted
(10)
To be sorted
(431)
...