TS1 syntax error with addInList
linkVars := addToList(L(1-10))