Difference between revisions of "Sysvar"
From WikiManual
m (im back after some years, and i got to say, i had to add this for clarification) |
|||
Line 6: | Line 6: | ||
*Most of them cause an action each cycle if they store a number that is not 0, like "commands". | *Most of them cause an action each cycle if they store a number that is not 0, like "commands". | ||
− | *Some store actual information each cycle, so they are basically "read only". | + | *Some store actual information each cycle, so they are basically "read only". Because even if you write in that address, many things will automatically overwrite this value each cycle. |
*A Few of them cause no actions and only change by command, like [[Free Variables|free "variables"]]. | *A Few of them cause no actions and only change by command, like [[Free Variables|free "variables"]]. | ||
Revision as of 06:09, 29 September 2014
Sysvars (System Variables) are named memory address for variable integers.
Every Bot has its own memory to store its situation and what actions it will do every cycle.
- Most of them cause an action each cycle if they store a number that is not 0, like "commands".
- Some store actual information each cycle, so they are basically "read only". Because even if you write in that address, many things will automatically overwrite this value each cycle.
- A Few of them cause no actions and only change by command, like free "variables".
System variables you're likely to see in Robot DNA:
Also see:
- Operators listing Algorithms.
- Sysvars2.21.txt another list limited for DB Version 2.37
- Racial memory gets copied through the birth tie.