![borland c builder 2009 borland c builder 2009](https://people.duke.edu/~ng46/borland/halfway-bent-e8-var.jpg)
BORLAND C BUILDER 2009 CODE
With regards to behavior #10, previously called "Banking" and now called "Bank," the code block within the Timer which moved the targets (the two banks) at regular intervals, has been moved to a new function called moveTargets(). Additionally, the findNThingTo() function has been repaired and modified to ignore the COIN. The findNNeighbor() and findNThing() fuctions' names have been modified to findNNeighborTo() and findNThingTo() for clarity. The Timer is now always enabled and the timer interval can now be adjusted with a TrackBar. A "Kill" button has been added to reduce the number of agents.
![borland c builder 2009 borland c builder 2009](https://i.pinimg.com/originals/20/29/b8/2029b8f30d764aeec2c099f3472c2a95.png)
The playing field has been enlarged to better fit the default resolution of the Classroom #6 computers. The same sub-variables are available for both.įlocking 21 - Version "U" - Revised October 21, 2009 "Persons" with no "chairs" wander aimlessly. This permits the same functions such as directionFromTo(), to be used for both "persons" and "things." The program initializes with more "persons" than "chairs" "Persons" seek out the nearest empty "chair." Both "persons" and "chairs" know that they have been sat in which prevents other "persons" from seeking them out. The "persons" are at the bottom of the array and the "things" are at the top. The "agents" array now serves the double purpose of representing "persons" (from 0 to INIPOP) and "chairs" (from 90 to MAXPOP).
![borland c builder 2009 borland c builder 2009](http://hockeybooster.weebly.com/uploads/1/2/4/9/124992101/596746829.jpg)
Otherwise, this is the same as version 23 except that the alien has been removed, more agent types have been added and the chairs will only show when rule 10 (Musical Chairs) is checked. Version 24a contains a variable name change from "kind" to "sex" in the two "Couples" rules in order to make it fun properly.