Friday, 27 September 2013

Receiving Illegal start of expression error

Receiving Illegal start of expression error

Can someone help me with this error? when i remove the () i have 100
errors... cannot response on my own post need to wait 7hours ...
long TimeTNL = ()(Skills.getXPToNextLevel("Mining") * 3600000.0D / XPH);
^
1 error



this.runTime = System.currentTimeMillis();
timeRan = this.runTime - this.startTime;
int XPH = (int)(this.gainedXP * 3600000.0D / timeRan);
long TimeTNL = ()(Skills.getXPToNextLevel("Mining") * 3600000.0D / XPH);
if (XPH > 0) {
this.TNLhours = (TimeTNL / 3600000L);
TimeTNL -= this.TNLhours * 3600000L;
this.TNLminutes = (TimeTNL / 60000L);
TimeTNL -= this.TNLminutes * 60000L;
this.TNLseconds = (TimeTNL / 1000L);
TimeTNL -= this.TNLseconds * 1000L;
}

No comments:

Post a Comment