Lua 5.3 syntax problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Lua 5.3 syntax problem

code: local sock = require("socket") Error:<name> expected near line 1 What is the problem with this code ?

1st Mar 2019, 11:50 AM
WARLORD
WARLORD - avatar
2 Answers
3rd Mar 2019, 12:40 PM
Rstar
Rstar - avatar
+ 4
Rstar the problem is not with the installation First time the code worked but in the second try it didn't work and caused the error in this post
3rd Mar 2019, 5:59 PM
WARLORD
WARLORD - avatar