Besides constants, in TRIK Studio reserved variables are available that store the values of the readings of sensors connected to the corresponding ports.
These values can be assigned to variables and used in mathematical expressions.
Variables have the form
sensorA1for TRIK or
sensor1for Lego NXT.
A complete list of sensor variables is provided in sections for specific platforms: