Path separator problem with MacOS or Windows

0 votes
asked Jul 14, 2023 in Question / help by modjojojo (120 points)
Hi

so i like reusing as much as posible puml diagram parts and i use !startsub

works great but i have a problem in Windows if you need a file separator i need to use \ as a file separator.

In mac it is the normal /

As a preprocesor function i can not find a replace function, and i would hate making a function that just builds a path in PUML

Is there a way to include a path in PUML OS agnostic ?

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.
...