Menu

#129 Unable to name a port something other than "port"

open
Ken Webb
None
7
2007-12-27
2007-12-27
Ken Webb
No

At present, a port can only be called "port" or "cnpt". In addition, all ports are contained in an array, for example:
port[5]
It should be possible for a port to have any name. It should be possible for a port to be either a scalar or an array.
In other words, a port should be able to look like a normal Java variable, for example:
IXholon foo;
This would be initialized with the following in a ClassDetails.xml file:
<port name="foo" index="-1" connector="ancestor::Bar/Baz/Foo"/>
instaed of:
<port name="port" index="P_FOO" connector="#xpointer(ancestor::Bar/Baz/Foo)"/>

where -1 would indicate that this is a scalar.

Discussion


Log in to post a comment.

Monday.com Logo