hi,
i've a problem with the next code:
this is what the program said when I tried to run it:
it's not executing, what am i doing wrong??
Thanx in advance,
D4v1d3
ps.: i'm total new to the lua thing but i'm not a noob in the programming sector.
i've a problem with the next code:
- Code:
newVM ("localhost")
addUser("bob","password")
addFile({ name = "home/bob/hello", content = "Hello, Bob!\n" })
mail ({ to = "bob", from = "an email", subject = "Can you see me?\n"})
this is what the program said when I tried to run it:
- Code:
>lua -e "io.stdout:setvbuf 'no'" "bob.lua"
lua: bob.lua:5: attempt to call global 'newVM' (a nil value)
stack traceback:
bob.lua:5: in main chunk
[C]: ?
>Exit code: 1
it's not executing, what am i doing wrong??
Thanx in advance,
D4v1d3
ps.: i'm total new to the lua thing but i'm not a noob in the programming sector.
Last edited by D4v1d3 on Wed Jul 29, 2015 2:22 pm; edited 1 time in total (Reason for editing : testing the code again)