Raven opens the auto-pilot program again.
She reads it slowly, line by line.
This time she finds two memory boxes.
One box is height. One box is speed.
Rocket asks if two boxes get mixed up.
Nova beeps. Let us find out together!
The ship still drops at the same spot.
The auto-pilot uses two boxes.
Bug hunters must read them both.
Nova keeps two boxes now.
Height holds 3. Speed holds 2.
Each box has its own name tag.
A line only touches the box it names.
The other box stays the same.
set height to 3 set speed to 2 say speed say height
Nova says 2 first, from speed.
Then Nova says 3, from height.
Each box kept its own number!
Build a two-box test.
Nova must say 3, then say 5.
Fill each box before Nova peeks in it.
| program | Nova says 4? |
|---|---|
| set height to 4, say height | ? |
| set speed to 4, say height | ? |
| set height to 4, set speed to 1, say height | ? |
| set speed to 4, set speed to 2, say speed | ? |
Each box has its own name.
A line only touches the box it names.
Great work, Crew!