How to use string type in uppaal?

25 views
Skip to first unread message

刘乔森

unread,
Dec 6, 2023, 3:26:18 AM12/6/23
to UPPAAL
According to "https://docs.uppaal.org/language-reference/system-description/declarations/types/", UPPAAL supports string. How do I declare it?

Marius Mikučionis

unread,
Dec 7, 2023, 4:58:10 AM12/7/23
to UPPAAL
On Wednesday 6 December 2023 at 09:26:18 UTC+1 liuqiaosen666 wrote:
According to "https://docs.uppaal.org/language-reference/system-description/declarations/types/", UPPAAL supports string. How do I declare it?

For example:
const string path = "/some/file";

The string constants are supported in a very narrow context of calling external libraries:

Also paths in the loadStrategy and saveStrategy queries:
 
Best regards,
Marius
Reply all
Reply to author
Forward
0 new messages