Closed th-we closed 3 years ago
Because of ManuScript type coercion, @label was only written when ExternalBarNumber was the string '1'. Some fun facts about ManuScript:
@label
not not '1'
'1'
not not ('1' & '')
not not ('t')
't'
not not ('t' & '')
Also, ExternalBarNumberString is always set, not only if we have explicitly set deviating bar numbers.
ExternalBarNumberString
Alternative would be to always write @label, independent of whether it differs from @n.
@n
Ready to merge?
Yes, ready. As you both approved, I'll merge myself.
No worries -- I was just about to do it anyway!
Because of ManuScript type coercion,
@label
was only written when ExternalBarNumber was the string '1'. Some fun facts about ManuScript:not not '1'
=> false (character'1'
)not not ('1' & '')
=> true (string'1'
)not not ('t')
=> true (character't'
)not not ('t' & '')
=> false (string't'
)Also,
ExternalBarNumberString
is always set, not only if we have explicitly set deviating bar numbers.Alternative would be to always write
@label
, independent of whether it differs from@n
.