i have this 8 question survey in my mobile application handover project. At first the corona did not prompt me any error message and the app works just fine but when i add 2 more question to it i start getting this message error Corona Runtime Error “attempt to concatenate field ‘?’ (a nil value)” and it is from line 662 and 678.
this is my code from line 662-678
function checkEBASComplete()
local tempScore = 0
for i = 1, 10 do
print(“EBAS:”…ebasRating_Arr[i])
tempScore = tempScore + ebasRating_Arr[i]
if (ebasRating_Arr[i] == -1) then
ebasScore = 0
ebasScore_text.text = “Test Incomplete”
else
ebasScore = tempScore
ebasScore_text.text = tostring(ebasScore)
end
end
tempScore = 0
end
checkEBASComplete()
Is anyone able to help? Appreciate for all helps
you guys can view https://stackoverflow.com/questions/48089980/corona-runtime-error-attempt-to-concatenate-field-a-nil-value for more details