error 'bce0034 expressions in statement must only be executed for their side-effects' can somebody help me?

#pragma strict

function Start () {}


function Update () {

  var timeRun = 0;



 var mov : move = gameObject.GetComponent(move);


      timeRun =  mov.runTime;
      
var t2 = timeRun;

  t2 / 8; //error line

  }

I tried to insert a other variable from the script ‘move’ and the variable name is ‘timeRun’ and then I’ve got an error if i do ’ t2 / 8; ’ can somebody help me?
I just begin with unity so i am bad in scripting.

You need to take/watch some tutorials. When you define a unityscript script as strict, you should always indicate the type you’re expecting. example from you’re script:

#pragma strict

function Start () {}
 
function Update () {
  var timeRun : int = 0;
  var mov : move = gameObject.GetComponent(move);
  timeRun =  mov.runTime;
  var t2 : int = timeRun;
 
  var somethingToHoldTheOutputOnTheRight : int = t2 / 8; 
 
}

Your line t2 / 8 doesn’t really do anything… the operation is performed but the value is not associated with any variable, in the above example i’ve stuffed it in another var.