Closed oraclecorp closed 4 years ago
fixed
sorry,it should be if namecnt/1 >1 and namecnt % 2 == 1 then
you mean
if namecnt/2 >1 and namecnt % 2 == 1 then
?
you mean
if namecnt/2 >1 and namecnt % 2 == 1 then
?
Because namecnt is a string,namecnt >1 will throw a error. namecnt/1 or tonumber(namecnt) can convert it to a number.
In following code,when namecnt is 1, (namecnt / 2 ) + 1 =2,which result error.
fix: line 313/461 if namecnt % 2 == 1 then to if namecnt >1 and namecnt % 2 == 1 then