.tieval
The value that goes with .tieloc: what is written to the other bot's memory or how much is transferred through the tie.
Facts
- Address
- 453
- Name
.tieval- Kind
- Command: the bot writes it and the engine reads it and usually consumes it
- Group
- Ties
- Written by
- Your DNA.
- Read by
- The engine, together with
.tieloc: it is the number written to the other bot, or the amount transferred (positive gives, negative takes). - Cleared
- The engine, together with
.tieloc, when the command is carried out. - Range
- −32000 to 32000; transfers have a per-cycle cap (see
.tieloc) - Mutations
- picked as a store target
By itself it does nothing: it is the second piece of data for .tieloc.
- If
.tielocis an address (1 to 1000),.tievalis the number that is written there, in the tied bot's memory. - If
.tielocis-1,-3,-4or-6,.tievalis the amount: positive to give, negative to take, with the caps shown on the.tielocpage.
The engine clears it together with .tieloc when the order is carried out; if there is no tie to pick it up, it can stay written (see the .tieloc page).
' tell my partner on tie 7 that I saw something
cond
*.eye5 0 >
start
7 .tienum store
70 .tieloc store
*.refxpos .tieval store
stopThe partner finds the data in its cell 70 in the next cycle. To pass data permanently, without writing to the other bot's memory, there are also the channels .tout1 and .tin1 (see Inputs and outputs).