Home
last modified time | relevance | path

Searched refs:thisVar (Results 1 – 1 of 1) sorted by relevance

/plugin/pgn4web/pgn4web/
H A Dpgn4web.js1245 function GoToMove(thisPly, thisVar) { argument
1247 if (typeof(thisVar) == "undefined") { thisVar = CurrentVar; }
1249 if (thisVar < 0) { thisVar = 0; }
1250 else if (thisVar >= numberOfVars) { thisVar = numberOfVars - 1; }
1253 else if (thisPly >= StartPlyVar[thisVar] + PlyNumberVar[thisVar]) {
1254 thisPly = StartPlyVar[thisVar] + PlyNumberVar[thisVar];
1257 if (thisVar === CurrentVar) {
1265 for (var jj = PredecessorsVars[thisVar].length - 1; jj >= 0; jj--) {
1266 if (PredecessorsVars[CurrentVar][ii] === PredecessorsVars[thisVar][jj]) {
1267 …CurrentVar][ii+1]] : CurrentPly, PredecessorsVars[thisVar][jj+1] ? StartPlyVar[PredecessorsVars[th…
[all …]