Closed GoogleCodeExporter closed 9 years ago
The problem is most likely that you've failed to load stdlib.lua (or
stdlib.lbc), where string.len is defined.
Original comment by kristofer.karlsson@gmail.com
on 17 Jul 2010 at 7:22
Hello Kristofer,
not loading the stdlib.lbc would be a good explanation, but I don't get an
error message while loading the stdlib.lbc, and I also use other functions of
the string lib like string.sub or string.byte without problems
but when I replace string.len(something) against #something, it works.. Looks
strange to me
Original comment by steffen....@gmail.com
on 18 Jul 2010 at 6:02
string.sub and string.byte are defined in Java, not in stdlib.lua
Original comment by kristofer.karlsson@gmail.com
on 18 Jul 2010 at 7:11
Original issue reported on code.google.com by
steffen....@gmail.com
on 17 Jul 2010 at 6:56