special characters in variable names

11 views
Skip to first unread message

Freddy Rios

unread,
Sep 15, 2022, 5:44:34 AM9/15/22
to YAKINDU User
Hi,

Is there any reference to what characters are allowed in variable names in the statecharts model?

For example, variables like this:
var target_l/min : real
var target_% : real

Regards,
Freddy

andreas

unread,
Sep 15, 2022, 7:57:05 AM9/15/22
to yakind...@googlegroups.com
Hi Freddy,

our identifiers are defined like this:
('^')?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
Basically the same as in most programming languages.

Best regards,

Andreas



--
You received this message because you are subscribed to the Google Groups "YAKINDU User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yakindu-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/yakindu-user/84464d77-5de3-4ee7-bea4-3a4e116ef3e1n%40googlegroups.com.


--
Mit freundlichen Grüßen,

            Andreas Mülder

Freddy Rios

unread,
Sep 15, 2022, 8:53:22 AM9/15/22
to yakind...@googlegroups.com
Thanks, that was precisely the info I was looking for.

Reply all
Reply to author
Forward
0 new messages