Is it possible to obtain fixed value for current %autonumber%?

0 votes
asked Jul 26, 2023 in Question / help by ok3 (160 points)

@startuml
autonumber 1.1

Bob->Alice ++ : Hello!

!$number = "%autonumber%"

note over Bob,Alice : number is $number

return another step

note over Bob,Alice 
I expect the number to remain 1.1 but it is $number

and substr(number,1,1) is "%substr($number,1,1)", not "." as I expect
end note
@enduml
 

commented Jul 26, 2023 by ok3 (160 points)
and i tried to write without quotes

!$number = %autonumber%

and got Parsing syntax error about %autonumber%

Your answer

Your name to display (optional):
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.
...