Replies: 1 comment
-
See https://github.com/lf-lang/lingua-franca/wiki/Multiports-and-Banks-of-Reactors#banks-of-reactors |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Instead of using (unique) variable names, is there a way to create a number of reactors in a set? For example, in a
main reactor
this is what I'm trying to achieve (which obviously, as I know, has no bearing in official LF, but illustrates the point):The advantage would be in the logic to be able to refer to a reactor by its index instead of using
switch
statements.Beta Was this translation helpful? Give feedback.
All reactions