Post by Admin on Jun 1, 2015 18:00:02 GMT
The UPDATE button updates the database with the data from the form, if
you make changes to the fields then press update for the changes to take
effect. Moving to the next cell also saves the data before moving to the
next cell. The New Data button writes the contents of the cell to the
text file NewBrainData.txt. Using a text file for holding the data is
designed to be used with the UpdateBrain keyword I use this mostly for
transferring chunks of data between Ai's and also to change the user
window. I set up cells to work with say the robot on one machine then
use the text file to transfer this information. You don't need to
re-launch the program for changes to take effect. the file
NewBrainData.txt is only written to so any changes made to this wont
have any effect. To add new data to the database use the button ADD this
will create a new entry at the end of the database using the word in the
box to the left. To go to the end of the database empty the box above
then press the GOTO button this takes you to the last entry, if there is
a number in this box then pressing the GOTO button will take you to that
numbered cell.
The Defrag button only works if the Disable Defrag button is unticked
in settings. Defrag reorganizes the data in the Brain Database using the
Type value. This is so functions that use certain types of data can
access it quickly without having to search the whole data base for
relevant data. This speeds up processing time, in reality you probably
wont notice much difference until the database gets to a size of 10,000
entries or more. If the data isn't defragged then the functions still
work they just take a bit longer. The reason for having the option to
disable defrag is sometimes the defrag process might not pick up on all
the links cells have to each other and this could cause problems hence
the ability to disable it, this is rare and only really applies to cells
set up manually. Defrag doesn't get rid of empty cells or reduce the
size of the database it just groups relevant data together.
you make changes to the fields then press update for the changes to take
effect. Moving to the next cell also saves the data before moving to the
next cell. The New Data button writes the contents of the cell to the
text file NewBrainData.txt. Using a text file for holding the data is
designed to be used with the UpdateBrain keyword I use this mostly for
transferring chunks of data between Ai's and also to change the user
window. I set up cells to work with say the robot on one machine then
use the text file to transfer this information. You don't need to
re-launch the program for changes to take effect. the file
NewBrainData.txt is only written to so any changes made to this wont
have any effect. To add new data to the database use the button ADD this
will create a new entry at the end of the database using the word in the
box to the left. To go to the end of the database empty the box above
then press the GOTO button this takes you to the last entry, if there is
a number in this box then pressing the GOTO button will take you to that
numbered cell.
The Defrag button only works if the Disable Defrag button is unticked
in settings. Defrag reorganizes the data in the Brain Database using the
Type value. This is so functions that use certain types of data can
access it quickly without having to search the whole data base for
relevant data. This speeds up processing time, in reality you probably
wont notice much difference until the database gets to a size of 10,000
entries or more. If the data isn't defragged then the functions still
work they just take a bit longer. The reason for having the option to
disable defrag is sometimes the defrag process might not pick up on all
the links cells have to each other and this could cause problems hence
the ability to disable it, this is rare and only really applies to cells
set up manually. Defrag doesn't get rid of empty cells or reduce the
size of the database it just groups relevant data together.