New answers tagged

0 votes

Error when calling seconnd function - expected expression

It's a scope issue. k is declared inside the curly braces of the FOR loop. That means that when the code exits the for loop, k will cease to exist. K should be declared outside of any loops or if ...
user avatar
  • 63.5k

Top 50 recent answers are included