Dock =LL.getVariables().getFloat(“Dock”)
Dock =LL.getVariables().getFloat(“Dock”)
if (Dock == ‘1’) { LL.getVariables().edit().setFloat(“Dock”,” “0”).commit();
}
else {LL.getVariables().edit().setFloat(“Dock”,” “1”).commit();
}
Help TrianguloY
I have syntax error
]]>
< ![CDATA[
“Missing semicolon at line 1” ?
]]>
< ![CDATA[
When setting the values you have an extra ” in both lines. Also you are setting a float so no need to pass the numbers as string
]]>
< ![CDATA[
LOL, I didn’t see that there were lines behind “Read more” !
]]>
< ![CDATA[
Pierre Hébert I thought the semicolon was not mandatory in JS?
]]>
< ![CDATA[
Benoît de Chezelles right!
]]>
< ![CDATA[
Oh really I didn’t noticed the semi colon added
So now fine
Thank you all
]]>
< ![CDATA[
TrianguloY you are really Fan-Tas-Tic !
]]>