Roadblock Ahead (Update)

Ok, so easier than I thought. Hopefully. for (var i:int = 0; i < kid.length;i++) { kid[i].engine(connectList[i]); } changed to: for (var i:String in kid) { kid[i].engine(connectList[i]); } This iterates through the indexes of kid which are created using the output port of the originating modules. so they might look like this: kid[0]==led1 kid[9]==led2 and […]

Continue reading

Reverse Engineering

This is the most recent build. It has some subtle differences with the previous version, most notably, if you light the led by entering a number higher than 0 in the integer module, then press and release the button also connected to the led, it will go off. Also, you can change the contents of […]

Continue reading

Roadblock Ahead

Few more changes brings me closer to actual NeatTools behavior, and data flow.  When evoking a module’s engine() method, the module is now passed the incoming port number. Every module has three arrays:mom, kid, and connectionList. When a connection is created the arrays are updated. Both kid and mom are arrays of modules, connectionList is […]

Continue reading