writetie#number1#number2 looks frightful, and doesn't inherantly do anything that the stack can't handle.
Yes it does look a bit scary. I am not married to the idea anyway. It was just something that I threw together.
It does do one thing that the stack can't. It would fix the usable numbers in place into a single very short command structure rather than relying on external settings.
OK so a default of one in .tie would work just fine and would probably be very good as far as letting bots access what is most likely their only tie.
However I am definitely against discarding the old tie structure entirely since it is able to do a few subtle things that will be impossible using a new internal array address system exclusively.
Currently it is possible to use a gene such as
cond
start
5 .tie store
-1 .tieloc store
100 .tieval store
Doesn't look like much at first glance but what if this is a Multi-bot with several ties that mostly have different numbers but has two in specific strategic positions that
share the same phase?
Then this particular gene will send energy to both of these ties in the same cycle from a single command.
There are many instances where this kind of behaviour is extremely useful. For instance, most bots can feed from multiple ties at once because they all share the same phase address.
In complex MBs this is just about the single most useful feature that I have found with the way ties are now.
Admitedly some of these things can be replaced by sharing but then that is designed to only work with mature MBs and not with quick hitter tie feeders.
And what about deleting ties? getting rid of 10 seperate ties with internal array addresses would take 10 seperate operations.
1 .deltie store
2 .deltie store
etc.
etc.
With the existing system, 10 ties that all have a phase of 15 can all be deleted at once by a single command.
15 .deltie store
Doing away with the old system in favor of a new one would in many ways make MBs harder to use and to evolve rather than easier.
I think we should be able to work out something pretty awesome from the ideas that we have been throwing around, but it can't entirely replace all the old stuff. It should compliment it and give alternative paths to the same end but never totally replace it.