This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Shadowsista's profile picture

First Rednet bios:338 bug

Started by Shadowsista, 09 April 2013 - 06:21 AM
Shadowsista #1
Posted 09 April 2013 - 08:21 AM
Hi! Sorry, I've only just started this and I can't seem to figure out what the problem is.

bios:338 [string "send1"]:10: '<name>' expected

This is the code I've written:

rednet.open("right")
local modem = peripheral.wrap("right")

modem.open(22)
modem.open(24)

local sendOnChannel = 22
local replyChannel = 24

modem.transmit(sendOnChannel. replyChannel. "message here")
print("[Message Sent,]"
Lyqyd #2
Posted 09 April 2013 - 08:30 AM
Moved to Ask a Pro.

Use commas to separate arguments, not periods.
Shadowsista #3
Posted 09 April 2013 - 08:52 AM
Thank you! ^_^/> I knew it was something stupid I'd done… :)/>