Posted 04 May 2012 - 11:00 PM
error is:
rednet:347: positive number expected
program is:
while true do
write("Port:")
port = read()
rednet.open(port)
write("Id:")
Sip = read()
while true do
write("Message:")
m = read()
rednet.send(Sip, .)
end
end
Output is:
Port: –I put top
Id: –i put 39
Message: – I put Hi
rednet:347: positive number expected
Can Some one help?
rednet:347: positive number expected
program is:
while true do
write("Port:")
port = read()
rednet.open(port)
write("Id:")
Sip = read()
while true do
write("Message:")
m = read()
rednet.send(Sip, .)
end
end
Output is:
Port: –I put top
Id: –i put 39
Message: – I put Hi
rednet:347: positive number expected
Can Some one help?