Login
Remember
Register
PlantUML Q&A
*NEW* Discord server
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
(
3,940
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
(
295,000
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
Save PlantUML language code as part of the output diagram file
Error when inserting square brackets in an activity (beta)
Can an <img be supported as a thumbnail, linked to the original?
Can be GPL version of plantuml used from LGPL software as a webservice?
All categories
Question / help
(1,463)
Bug
(1,637)
Wanted features
(1,419)
Closed question / help
(88)
Closed bug
(53)
Closed feature request
(130)
Won't fix
(3)
Won't implement
(12)
Can't help
(9)
To be deleted
(10)
To be sorted
(429)
...