
ADVANCED NXT-G PROGRAMMING 95
data type mismatch
Mismatching data types is one of the most common mis-
takes. We already discussed this topic in “Transmitting the
Data Types” on the previous page, but it’s worth repeating:
A data wire
must connect plugs of the same data type.
missing input
Another common mistake is attaching a data wire to an out-
put plug when that output plug’s corresponding input plug
has no data source (Figure 8-8). I emphasized this topic in
“The Wire Path” on the previous page. Remember that with
a pair of corresponding input and output plugs, the output
plug can only send the data received by the input plug. If you
want to ...