Changes between Initial Version and Version 1 of Ticket #5628, comment 2


Ignore:
Timestamp:
2019-09-09T17:05:53Z (5 years ago)
Author:
Francesco Casella

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5628, comment 2

    initial v1  
    44- when you graphically connect {{{m.c}}} to a ''scalar'' connector, the parameter is {{{N}}} is automatically increased by one, and a connection to the corresponding scalar element is generated
    55
    6 When connecting {{{m.c}}} to another connector ''array'' {{{m2.c}}}, this mechanism should obviously not be used, and a simple {{{connect(m.c, m2.c)}}} statement should be generated (case 2).
     6When connecting {{{m.c}}} to another connector ''array'' {{{m2.c}}}, this mechanism should obviously not be used, and a simple {{{connect(m.c, m2.c)}}} statement should be generated (case 2), unless also the size of {{{m2.c}}} is a parameter with the {{{connectorSizing = true}}} annotation, see Rule 1 in 18.7.
    77
    88When connecting {{{m.c}}} to an expandable connector, OMEdit doesn't know the type of the other connector, because the other connector is implicitly defined by the connect statement. In this case, I would suggest that a pop-up window shows up, asking whether one wants to connect to a scalar connector on the expandable connector (in which case the {{{connectorSizing}}} mechanism should be used), or to an array connector on the expandable connector, in which case a connect statement between two array connectors should be generated.