KS2001
Un valore non è scritto correttamente. Il messaggio indica cosa era previsto. Le cause più comuni sono una riga che termina con un operatore, una parentesi che non viene chiusa, e l'uso di && o || dove KScript si aspetta and o or.
<let>$total = 5 +</let> <!-- wrong: nothing after the + -->
<set name="total" value="5 + 1" /> <!-- right -->$total = 5 + // wrong: nothing after the +
$total = 5 + 1 // right